Java J2EE based bug defect tracking database: Javamail
Bugzero one-for-all bug tracking and help desk support system
Q: For both email notification and incoming email, I got an NPE on an Ubuntu linux:
	at java.lang.String.concat(
	at com.sun.activation.registries.MailcapFile.parseLine(
	at com.sun.activation.registries.MailcapFile.parse(
	at com.sun.activation.registries.MailcapFile.createMailcapHash(
	at com.sun.activation.registries.MailcapFile.(
	at javax.activation.MailcapCommandMap.loadFile(
	at javax.activation.MailcapCommandMap.(
	at javax.activation.CommandMap.getDefaultCommandMap(
	at javax.activation.DataHandler.getCommandMap(
	at javax.activation.DataHandler.getDataContentHandler(
	at javax.activation.DataHandler.getContent(
	at javax.mail.internet.MimeBodyPart.getContent(

A: This is caused by the $HOME/.mailcap file.
   Deleting the file or 
   deleting the "-e" from the beginning of the file shall fix the problem.

* Reference brought to you by Bugzero, it's more than just bug tracking software!

Home - FAQs