java.lang.NullPointerException

GitHub | vanniktech | 5 months ago
  1. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.google.errorprone.bugpatterns.ReferenceEquality.implementsEquals()
    2. com.google.errorprone
      ErrorProneScanner.visitBinary
      1. com.google.errorprone.bugpatterns.ReferenceEquality.implementsEquals(ReferenceEquality.java:102)
      2. com.google.errorprone.bugpatterns.ReferenceEquality.matchArgument(ReferenceEquality.java:69)
      3. com.google.errorprone.bugpatterns.AbstractReferenceEquality.matchBinary(AbstractReferenceEquality.java:57)
      4. com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:556)
      5. com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:146)
      5 frames
    3. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1958)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    4. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:45)
      2 frames
    5. Java Tools
      TreeScanner.visitParenthesized
      1. com.sun.source.util.TreeScanner.visitParenthesized(TreeScanner.java:573)
      1 frame
    6. com.google.errorprone
      ErrorProneScanner.visitParenthesized
      1. com.google.errorprone.scanner.ErrorProneScanner.visitParenthesized(ErrorProneScanner.java:1038)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitParenthesized(ErrorProneScanner.java:146)
      2 frames
    7. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1819)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    8. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:45)
      2 frames
    9. Java Tools
      TreeScanner.visitIf
      1. com.sun.source.util.TreeScanner.visitIf(TreeScanner.java:419)
      1 frame
    10. com.google.errorprone
      ErrorProneScanner.visitIf
      1. com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:805)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:146)
      2 frames
    11. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1397)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    12. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:45)
      2 frames
    13. Java Tools
      TreeScanner.visitBlock
      1. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      3. com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
      3 frames
    14. com.google.errorprone
      ErrorProneScanner.visitBlock
      1. com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:577)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:146)
      2 frames
    15. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:996)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    16. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:45)
      2 frames
    17. Java Tools
      TreeScanner.visitMethod
      1. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:207)
      2 frames
    18. com.google.errorprone
      ErrorProneScanner.visitMethod
      1. com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:945)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:146)
      2 frames
    19. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:868)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    20. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:45)
      2 frames
    21. Java Tools
      TreeScanner.visitClass
      1. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      3. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
      4. com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188)
      4 frames
    22. com.google.errorprone
      ErrorProneScanner.visitClass
      1. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:637)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:146)
      2 frames
    23. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    24. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:45)
      2 frames
    25. Java Tools
      TreeScanner.visitClass
      1. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      3. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
      4. com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188)
      4 frames
    26. com.google.errorprone
      ErrorProneScanner.visitClass
      1. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:637)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:146)
      2 frames
    27. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
      2 frames
    28. com.google.errorprone
      Scanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.Scanner.scan(Scanner.java:45)
      2 frames
    29. Java Tools
      TreeScanner.visitCompilationUnit
      1. com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      2. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
      3. com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145)
      3 frames
    30. com.google.errorprone
      ErrorProneScanner.visitCompilationUnit
      1. com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:652)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:146)
      2 frames
    31. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:561)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:53)
      2 frames
    32. com.google.errorprone
      ErrorProneScannerTransformer.apply
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:70)
      2. com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:45)
      2 frames
    33. @BugPattern annotation
      ErrorProneAnalyzer.finished
      1. com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:125)
      1 frame
    34. Java Tools
      Main.compile
      1. com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:113)
      2. com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1303)
      3. com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1247)
      4. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:858)
      5. com.sun.tools.javac.main.Main.compile(Main.java:253)
      5 frames
    35. @BugPattern annotation
      ErrorProneCompiler.compile
      1. com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:190)
      2. com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:101)
      3. com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:131)
      4. com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:73)
      4 frames
    36. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    37. net.ltgt.gradle
      ErrorProneCompiler.execute
      1. net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:57)
      2. net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:25)
      2 frames
    38. org.gradle.api
      JavaCompile.compile
      1. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
      2. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
      3. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
      4. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
      5. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
      6. org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:163)
      7. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:145)
      8. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
      8 frames
    39. com.android.build
      AndroidJavaCompile.compile
      1. com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
      1 frame
    40. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    41. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    42. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245)
      2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
      3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232)
      4. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      8. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      9. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:68)
      10. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      11. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
      12. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      13. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      14. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      15. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
      16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
      19. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      20. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      20 frames
    43. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames