java.lang.NullPointerException

GitHub | accidbright | 9 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.devtools.j2objc.translate.NilCheckResolver$Scope.mergeDownAndReset()
  2. com.google.devtools
    JdtParser$1.acceptAST
    1. com.google.devtools.j2objc.translate.NilCheckResolver$Scope.mergeDownAndReset(NilCheckResolver.java:181)
    2. com.google.devtools.j2objc.translate.NilCheckResolver$Scope.access$1100(NilCheckResolver.java:100)
    3. com.google.devtools.j2objc.translate.NilCheckResolver.handleConditional(NilCheckResolver.java:526)
    4. com.google.devtools.j2objc.translate.NilCheckResolver.visit(NilCheckResolver.java:511)
    5. com.google.devtools.j2objc.ast.ConditionalExpression.acceptInner(ConditionalExpression.java:81)
    6. com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:105)
    7. com.google.devtools.j2objc.ast.ChildLink.accept(ChildLink.java:76)
    8. com.google.devtools.j2objc.ast.VariableDeclarationFragment.acceptInner(VariableDeclarationFragment.java:46)
    9. com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:105)
    10. com.google.devtools.j2objc.ast.ChildLink.accept(ChildLink.java:76)
    11. com.google.devtools.j2objc.ast.ChildList.accept(ChildList.java:86)
    12. com.google.devtools.j2objc.ast.FieldDeclaration.acceptInner(FieldDeclaration.java:75)
    13. com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:105)
    14. com.google.devtools.j2objc.translate.NilCheckResolver.visitType(NilCheckResolver.java:478)
    15. com.google.devtools.j2objc.translate.NilCheckResolver.visit(NilCheckResolver.java:500)
    16. com.google.devtools.j2objc.ast.TypeDeclaration.acceptInner(TypeDeclaration.java:81)
    17. com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:105)
    18. com.google.devtools.j2objc.ast.ChildLink.accept(ChildLink.java:76)
    19. com.google.devtools.j2objc.ast.ChildList.accept(ChildList.java:86)
    20. com.google.devtools.j2objc.ast.CompilationUnit.acceptInner(CompilationUnit.java:203)
    21. com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:105)
    22. com.google.devtools.j2objc.ast.TreeVisitor.run(TreeVisitor.java:39)
    23. com.google.devtools.j2objc.pipeline.TranslationProcessor.applyMutations(TranslationProcessor.java:198)
    24. com.google.devtools.j2objc.pipeline.TranslationProcessor.processConvertedTree(TranslationProcessor.java:96)
    25. com.google.devtools.j2objc.pipeline.FileProcessor.processCompiledSource(FileProcessor.java:172)
    26. com.google.devtools.j2objc.pipeline.FileProcessor.access$000(FileProcessor.java:42)
    27. com.google.devtools.j2objc.pipeline.FileProcessor$1.handleParsedUnit(FileProcessor.java:144)
    28. com.google.devtools.j2objc.util.JdtParser$1.acceptAST(JdtParser.java:165)
    28 frames
  3. j2objc.org.eclipse
    ASTParser.createASTs
    1. j2objc.org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1029)
    2. j2objc.org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:636)
    3. j2objc.org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:990)
    3 frames
  4. com.google.devtools
    J2ObjC.main
    1. com.google.devtools.j2objc.util.JdtParser.parseFiles(JdtParser.java:174)
    2. com.google.devtools.j2objc.pipeline.FileProcessor.processBatch(FileProcessor.java:152)
    3. com.google.devtools.j2objc.pipeline.FileProcessor.processInput(FileProcessor.java:96)
    4. com.google.devtools.j2objc.pipeline.FileProcessor.processInputs(FileProcessor.java:69)
    5. com.google.devtools.j2objc.pipeline.TranslationProcessor.processInputs(TranslationProcessor.java:76)
    6. com.google.devtools.j2objc.J2ObjC.run(J2ObjC.java:139)
    7. com.google.devtools.j2objc.J2ObjC.main(J2ObjC.java:174)
    7 frames