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

java.lang.NullPointerException:
at com.sun.tools.javac.comp.Resolve$AbstractMethodCheck.argumentsAcceptable(Resolve.java:717)
at com.sun.tools.javac.comp.Resolve$4.argumentsAcceptable(Resolve.java:835)
at com.sun.tools.javac.comp.Resolve.rawInstantiate(Resolve.java:576)
at com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1440)
at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1621)
at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1690)
at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1664)
at com.sun.tools.javac.comp.Resolve$9.doLookup(Resolve.java:2364)
at com.sun.tools.javac.comp.Resolve$BasicLookupHelper.lookup(Resolve.java:2972)
at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3223)
at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2361)
at com.google.errorprone.bugpatterns.EqualsHashCode.resolveMethod(EqualsHashCode.java:121)
at com.google.errorprone.bugpatterns.EqualsHashCode.matchClass(EqualsHashCode.java:97)
at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:629)
at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:144)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:89)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:43)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:650)
at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:144)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:561)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:53)
at com.google.errorprone.scanner.Scanner.scan(Scanner.java:68)
at com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:43)
at com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:123)
at com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:113)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1303)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1247)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:858)
at com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:187)
at com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:98)
at com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:128)
at com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:70)
at com.google.errorprone.ErrorProneCompiler.main(ErrorProneCompiler.java:49)

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.

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