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 Spring JIRA by Wim Deblauwe, 1 year ago
This exception has no message.
via Spring JIRA by Wim Deblauwe, 1 year ago
This exception has no message.
via activemq-dev by Ceriac, 1 year ago
via Stack Overflow by Sylphe
, 2 years ago
This exception has no message.
via Oracle Community by 807607, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at java.lang.String.indexOf(String.java:1734)
at java.lang.String.indexOf(String.java:1716)
at java.lang.Throwable.getLocalizedMessage(Throwable.java:267)
at java.lang.Throwable.toString(Throwable.java:343)
at java.lang.String.valueOf(String.java:2827)
at java.io.PrintWriter.println(PrintWriter.java:710)
at java.lang.Throwable.printStackTrace(Throwable.java:509)
at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:76)
at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:407)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:305)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:160)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.error(Category.java:322)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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