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 GitHub by gabrielittner
, 1 year ago
java.lang.NullPointerException: 	at com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.recordSimpleName(RemoveUnusedImports.java:123)	at com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.recordReference(RemoveUnusedImports.java:118)	at com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.recordTag(RemoveUnusedImports.java:105)	at com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.access$000(RemoveUnusedImports.java:77)	at com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner$1.visit(RemoveUnusedImports.java:88)	at org.eclipse.jdt.core.dom.TagElement.accept0(TagElement.java:278)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.TagElement.accept0(TagElement.java:280)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.Javadoc.accept0(Javadoc.java:205)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.visit(RemoveUnusedImports.java:84)	at org.eclipse.jdt.core.dom.Javadoc.accept0(Javadoc.java:202)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)	at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:614)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at com.google.googlejavaformat.java.RemoveUnusedImports.removeUnusedImports(RemoveUnusedImports.java:153)	at com.google.googlejavaformat.java.FormatFileCallable.call(FormatFileCallable.java:44)	at com.google.googlejavaformat.java.FormatFileCallable.call(FormatFileCallable.java:28)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)