java.lang.NullPointerException

GitHub | allco | 2 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.android.tools.idea.databinding.BrClassFinder.findPackage()
    2. com.android.tools
      BrClassFinder.findPackage
      1. com.android.tools.idea.databinding.BrClassFinder.findPackage(BrClassFinder.java:97)
      1 frame
    3. IDEA
      PsiAnnotationImpl.getQualifiedName
      1. com.intellij.psi.impl.JavaPsiFacadeImpl.findPackage(JavaPsiFacadeImpl.java:224)
      2. com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarationsNoGuess(PsiJavaFileBaseImpl.java:318)
      3. com.intellij.psi.impl.source.PsiJavaFileBaseImpl.access$100(PsiJavaFileBaseImpl.java:58)
      4. com.intellij.psi.impl.source.PsiJavaFileBaseImpl$MyCacheBuilder.compute(PsiJavaFileBaseImpl.java:483)
      5. com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
      6. com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
      7. com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
      8. com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
      9. com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:272)
      10. com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:73)
      11. com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:55)
      12. com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:223)
      13. com.intellij.psi.scope.util.PsiScopesUtil.resolveAndWalk(PsiScopesUtil.java:154)
      14. com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.resolve(PsiJavaCodeReferenceElementImpl.java:443)
      15. com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.access$100(PsiJavaCodeReferenceElementImpl.java:55)
      16. com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:344)
      17. com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl$OurGenericsResolver.resolve(PsiJavaCodeReferenceElementImpl.java:336)
      18. com.intellij.psi.impl.source.resolve.ResolveCache$4.compute(ResolveCache.java:191)
      19. com.intellij.psi.impl.source.resolve.ResolveCache$4.compute(ResolveCache.java:188)
      20. com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112)
      21. com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:188)
      22. com.intellij.psi.impl.PsiImplUtil.multiResolveImpl(PsiImplUtil.java:755)
      23. com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.getCanonicalText(PsiJavaCodeReferenceElementImpl.java:271)
      24. com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl.getCanonicalText(PsiJavaCodeReferenceElementImpl.java:262)
      25. com.intellij.psi.impl.source.tree.java.PsiAnnotationImpl.getQualifiedName(PsiAnnotationImpl.java:96)
      25 frames
    4. de.plushnikov.intellij
      LombokAugmentProvider.getAugments
      1. de.plushnikov.intellij.plugin.provider.LombokAugmentProvider.checkAnnotations(LombokAugmentProvider.java:172)
      2. de.plushnikov.intellij.plugin.provider.LombokAugmentProvider.verifyLombokPresent(LombokAugmentProvider.java:149)
      3. de.plushnikov.intellij.plugin.provider.LombokAugmentProvider.process(LombokAugmentProvider.java:103)
      4. de.plushnikov.intellij.plugin.provider.LombokAugmentProvider.getAugments(LombokAugmentProvider.java:96)
      4 frames
    5. DSL
      PsiAugmentProvider.collectAugments
      1. com.intellij.psi.augment.PsiAugmentProvider.collectAugments(PsiAugmentProvider.java:50)
      1 frame
    6. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.psi.impl.source.ClassInnerStuffCache.getAllMethods(ClassInnerStuffCache.java:170)
      2. com.intellij.psi.impl.source.ClassInnerStuffCache.access$300(ClassInnerStuffCache.java:38)
      3. com.intellij.psi.impl.source.ClassInnerStuffCache$3.compute(ClassInnerStuffCache.java:75)
      4. com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:137)
      5. com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
      6. com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
      7. com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
      8. com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
      9. com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:84)
      10. com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:133)
      11. com.intellij.psi.impl.source.ClassInnerStuffCache.getMethods(ClassInnerStuffCache.java:71)
      12. com.intellij.psi.impl.source.PsiClassImpl.getMethods(PsiClassImpl.java:301)
      13. com.intellij.psi.impl.PsiSuperMethodImplUtil.buildMethodHierarchy(PsiSuperMethodImplUtil.java:196)
      14. com.intellij.psi.impl.PsiSuperMethodImplUtil.access$000(PsiSuperMethodImplUtil.java:44)
      15. com.intellij.psi.impl.PsiSuperMethodImplUtil$2$1.create(PsiSuperMethodImplUtil.java:62)
      16. com.intellij.psi.impl.PsiSuperMethodImplUtil$2$1.create(PsiSuperMethodImplUtil.java:58)
      17. com.intellij.util.containers.FactoryMap.get(FactoryMap.java:56)
      18. com.intellij.psi.impl.PsiSuperMethodImplUtil$5.compute(PsiSuperMethodImplUtil.java:397)
      19. com.intellij.psi.impl.PsiSuperMethodImplUtil$5.compute(PsiSuperMethodImplUtil.java:391)
      20. com.intellij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.java:53)
      21. com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
      22. com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
      23. com.intellij.psi.impl.PsiParameterizedCachedValue.getValue(PsiParameterizedCachedValue.java:43)
      24. com.intellij.psi.util.CachedValuesManager.getParameterizedCachedValue(CachedValuesManager.java:97)
      25. com.intellij.psi.impl.PsiSuperMethodImplUtil.getHierarchicalMethodSignature(PsiSuperMethodImplUtil.java:385)
      26. com.intellij.psi.impl.source.PsiMethodImpl.getHierarchicalMethodSignature(PsiMethodImpl.java:157)
      27. com.intellij.psi.impl.search.MethodSuperSearcher$1.compute(MethodSuperSearcher.java:45)
      28. com.intellij.psi.impl.search.MethodSuperSearcher$1.compute(MethodSuperSearcher.java:42)
      29. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:962)
      30. com.intellij.psi.impl.search.MethodSuperSearcher.execute(MethodSuperSearcher.java:42)
      31. com.intellij.psi.impl.search.MethodSuperSearcher.execute(MethodSuperSearcher.java:35)
      32. com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:45)
      33. com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:75)
      34. com.intellij.util.AbstractQuery.findFirst(AbstractQuery.java:52)
      35. com.intellij.util.UniqueResultsQuery.findFirst(UniqueResultsQuery.java:51)
      36. com.intellij.codeInsight.daemon.impl.JavaLineMarkerProvider.getLineMarkerInfo(JavaLineMarkerProvider.java:71)
      37. com.intellij.codeInsight.daemon.impl.LineMarkersPass.addLineMarkers(LineMarkersPass.java:181)
      38. com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:111)
      39. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      40. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
      41. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1181)
      42. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
      43. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
      44. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      45. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      46. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:432)
      47. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
      48. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:206)
      48 frames
    7. Quasar
      ForkJoinWorkerThread.run
      1. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
      3. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
      4. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
      5. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
      5 frames