It's not a secret anymore!*
The moose likes JForum and the fly likes NullPointer Exception after replying to a post. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "NullPointer Exception after replying to a post." Watch "NullPointer Exception after replying to a post." New topic
Author

NullPointer Exception after replying to a post.

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Got this exception after replying to a post. what happened? my SMTP server is working fine on the local host (test it with sendmail).

Sending mail to: abc@gmail.com
Exception in thread "Thread-46" java.lang.NullPointerException
at java.lang.String.concat(String.java:1827)
at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
at javax.activation.DataHandler.writeTo(DataHandler.java:294)
at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:248)
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1268)
at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2012)
at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1980)
at javax.mail.Transport.send(Transport.java:119)
at net.jforum.util.mail.Spammer.dispatchMessages(Spammer.java:192)
at net.jforum.util.mail.EmailSenderTask.run(EmailSenderTask.java:63)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
at java.lang.Thread.run(Thread.java:595)

[originally posted on jforum.net by gumiyo]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Which JForum version?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
2.1.8
[originally posted on jforum.net by gumiyo]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NullPointer Exception after replying to a post.
 
Similar Threads
Mail is not get send if i call web service, if i don't call web service mail is getting send
NoClassDefFoundError JavaMail..........
com.sun.mail... no classdef error when sending Mail
Having Problem in sending mail
Help Me : Error in sending mail from JSP