Illegal characters in .mailcap file

Bug #246708 reported by Angela Norton
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

The default .mailcap file installed with Ubuntu has a spurious "-e" on the first line. This causes a java NullPointerException on my machine when running certain applications that send SMTP email.

Output of lsb_release -rd:
Description: Ubuntu 8.04.1
Release: 8.04

Revision history for this message
Angela Norton (angela-norton) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Which particular line contained the spurious '-e' in it? Thanks in advance.

Revision history for this message
Angela Norton (angela-norton) wrote :

Brian,
The very first line contained '-e' by itself. Deleting that fixed the problem.

Revision history for this message
Brian Murray (brian-murray) wrote :

I believe the mailcap file is modified by packages as they are installed, so it would be helpful to know the lines around the '-e' or perhaps have a list of packages that you have installed so we can track this down.

Revision history for this message
Angela Norton (angela-norton) wrote :

Here's how my .mailcap file looked originally, before I modified it:
----------------------------
-e
# Java Web Start
application/x-java-jnlp-file; /home/anorton/downloads/jdk1.5.0_12/jre/bin/javaws %s
------------------------------

I've attached the output of dpkg -l | grep '^i'.

Revision history for this message
Brian Murray (brian-murray) wrote :

I've examined the source package for sun-java5-1.5.0-15-0ubuntu1 and the entry added is the following:

application/x-java-jnlp-file; /@basedir@/jre/javaws/javaws %s

However, your .mailcap file shows a different entry. Did you download the jdk from somwhere else?

Revision history for this message
Brian Murray (brian-murray) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and feel free to submit bug reports in the future.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.