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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by eldereng
, 10 months ago
via pmd by eldereng
, 10 months ago
This exception has no message.
java.lang.NullPointerException:
at net.sourceforge.pmd.cpd.JavaTokenizer$ConstructorDetector.processToken(JavaTokenizer.java:235)
at net.sourceforge.pmd.cpd.JavaTokenizer.processToken(JavaTokenizer.java:76)
at net.sourceforge.pmd.cpd.JavaTokenizer.tokenize(JavaTokenizer.java:54)
at net.sourceforge.pmd.cpd.CPD.addAndThrowLexicalError(CPD.java:143)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:138)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:103)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:67)
at net.sourceforge.pmd.cpd.CPD.addDirectory(CPD.java:77)
at net.sourceforge.pmd.cpd.CPD.addRecursively(CPD.java:62)
at net.sourceforge.pmd.cpd.GUI.go(GUI.java:624)
at net.sourceforge.pmd.cpd.GUI.access$500(GUI.java:70)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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