java.lang.NullPointerException

GitHub | gabrielittner | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.recordSimpleName()
  2. com.google.googlejavaformat
    RemoveUnusedImports$UnusedImportScanner$1.visit
    1. com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.recordSimpleName(RemoveUnusedImports.java:123)
    2. com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.recordReference(RemoveUnusedImports.java:118)
    3. com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.recordTag(RemoveUnusedImports.java:105)
    4. com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.access$000(RemoveUnusedImports.java:77)
    5. com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner$1.visit(RemoveUnusedImports.java:88)
    5 frames
  3. JDT Core
    ASTNode.accept
    1. org.eclipse.jdt.core.dom.TagElement.accept0(TagElement.java:278)
    2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    3. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    4. org.eclipse.jdt.core.dom.TagElement.accept0(TagElement.java:280)
    5. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    6. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    7. org.eclipse.jdt.core.dom.Javadoc.accept0(Javadoc.java:205)
    8. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    8 frames
  4. com.google.googlejavaformat
    RemoveUnusedImports$UnusedImportScanner.visit
    1. com.google.googlejavaformat.java.RemoveUnusedImports$UnusedImportScanner.visit(RemoveUnusedImports.java:84)
    1 frame
  5. JDT Core
    ASTNode.accept
    1. org.eclipse.jdt.core.dom.Javadoc.accept0(Javadoc.java:202)
    2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    3. org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)
    4. org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:614)
    5. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    6. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    7. org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)
    8. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    9. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    10. org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212)
    11. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    11 frames
  6. com.google.googlejavaformat
    FormatFileCallable.call
    1. com.google.googlejavaformat.java.RemoveUnusedImports.removeUnusedImports(RemoveUnusedImports.java:153)
    2. com.google.googlejavaformat.java.FormatFileCallable.call(FormatFileCallable.java:44)
    3. com.google.googlejavaformat.java.FormatFileCallable.call(FormatFileCallable.java:28)
    3 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames