java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via james-server-user by Serge Knystautas, 1 year ago
via james-server-user by Mario Oschwald, 1 year ago
via internet2.edu by Unknown author, 1 year ago
This exception has no message.
via Oracle Community by 669374, 1 year ago
This exception has no message.
via Appcelerator JIRA by Tommy Leung, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at java.io.ByteArrayInputStream.(ByteArrayInputStream.java:90)
at org.apache.james.mailrepository.TownMimeMessageInputStream.openStream(TownMimeMessageInputStream.java:63)
at org.apache.james.core.JamesMimeMessageInputStream.read(JamesMimeMessageInputStream.java:23)
at java.io.InputStream.read(InputStream.java:165)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:56)
at javax.mail.internet.InternetHeaders.load(InternetHeaders.java:114)
at javax.mail.internet.InternetHeaders.(InternetHeaders.java:93)
at javax.mail.internet.MimeMessage.createInternetHeaders(MimeMessage.java:1860)
at javax.mail.internet.MimeMessage.parse(MimeMessage.java:260)
at javax.mail.internet.MimeMessage.(MimeMessage.java:154)
at org.apache.james.core.JamesMimeMessage.loadMessage(JamesMimeMessage.java:28)
at org.apache.james.core.JamesMimeMessage.writeTo(JamesMimeMessage.java:53)
at org.apache.james.core.MailImpl.writeMessageTo(MailImpl.java:198)
at org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailRepository.java:98)
at org.apache.james.transport.mailets.ToRepository.service(ToRepository.java:49)
at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:152)
at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:166)
at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:142)
at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)

Users with the same issue

9 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 year ago
3 times, 1 year ago
2 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.