java.lang.NullPointerException

GitHub | erivas39 | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 16#7835732

    GitHub | 5 years ago | atifmansoor
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    IDEA gets stuck in indexing files loop

    YouTrack | 7 years ago
    java.lang.Throwable

    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.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.<init>()
    2. com.github.kumaraman21
      StepPsiReference$StepAnnotationFinder.processFile
      1. com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.<init>(DeclaredAnnotationSet.java:48)
      2. com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
      2 frames
    3. IDEA
      ProjectFileIndexImpl.iterateContent
      1. com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:31)
      2. com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
      3. com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
      4. com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
      5. com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
      6. com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
      7. com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
      7 frames
    4. com.github.kumaraman21
      UndefinedStepsInspection$1.visitElement
      1. com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
      2. com.github.kumaraman21.intellijbehave.codeInspector.UndefinedStepsInspection$1.visitElement(UndefinedStepsInspection.java:72)
      2 frames
    5. IDEA
      JobUtil$1.run
      1. com.intellij.extapi.psi.PsiElementBase.accept(PsiElementBase.java:144)
      2. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:334)
      3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:289)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$100(LocalInspectionsPass.java:74)
      5. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:257)
      6. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:241)
      7. com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:116)
      8. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
      9. com.intellij.concurrency.JobUtil$2.process(JobUtil.java:114)
      10. com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
      10 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3 frames
    7. IDEA
      JobUtil$3.call
      1. com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
      2. com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
      3. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
      4. com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
      5. com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
      6. com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
      7. com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
      8. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:241)
      9. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:225)
      10. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:131)
      11. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
      12. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
      13. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
      14. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
      15. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
      16. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
      17. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
      18. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
      19. com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
      20. com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
      20 frames
    8. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      2 frames
    9. IDEA
      JobUtil$3.call
      1. com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
      2. com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
      3. com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
      4. com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
      5. com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
      6. com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
      7. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:327)
      8. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:188)
      9. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
      10. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
      11. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
      12. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
      13. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
      14. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
      15. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
      16. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
      17. com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
      18. com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
      18 frames
    10. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      2 frames
    11. IDEA
      PrioritizedFutureTask.run
      1. com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
      2. com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
      3. com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
      3 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames