java.lang.IllegalArgumentException: Argument for @NotNull parameter 'psiElement' of org/elixir_lang/annonator/ModuleAttribute.highlightTypesAndTypeParameterUsages must not be null

GitHub | KronicDeth | 7 months 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

    Null passed to highlightTypesAndTypeParameterUsages when start of atom is typed

    GitHub | 7 months ago | KronicDeth
    java.lang.IllegalArgumentException: Argument for @NotNull parameter 'psiElement' of org/elixir_lang/annonator/ModuleAttribute.highlightTypesAndTypeParameterUsages must not be null

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Argument for @NotNull parameter 'psiElement' of org/elixir_lang/annonator/ModuleAttribute.highlightTypesAndTypeParameterUsages must not be null

      at org.elixir_lang.annonator.ModuleAttribute.highlightTypesAndTypeParameterUsages()
    2. org.elixir_lang.annonator
      ModuleAttribute$1.visitElement
      1. org.elixir_lang.annonator.ModuleAttribute.highlightTypesAndTypeParameterUsages(ModuleAttribute.java)
      2. org.elixir_lang.annonator.ModuleAttribute.highlightSpecification(ModuleAttribute.java:507)
      3. org.elixir_lang.annonator.ModuleAttribute.highlightSpecification(ModuleAttribute.java:257)
      4. org.elixir_lang.annonator.ModuleAttribute.access$400(ModuleAttribute.java:37)
      5. org.elixir_lang.annonator.ModuleAttribute$1.visitDeclaration(ModuleAttribute.java:105)
      6. org.elixir_lang.annonator.ModuleAttribute$1.visitElement(ModuleAttribute.java:70)
      6 frames
    3. IDEA
      PsiElementBase.accept
      1. com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:274)
      1 frame
    4. org.elixir_lang.psi
      ElixirUnmatchedAtUnqualifiedNoParenthesesCallImpl.accept
      1. org.elixir_lang.psi.impl.ElixirUnmatchedAtUnqualifiedNoParenthesesCallImpl.accept(ElixirUnmatchedAtUnqualifiedNoParenthesesCallImpl.java:38)
      1 frame
    5. org.elixir_lang.annonator
      ModuleAttribute.annotate
      1. org.elixir_lang.annonator.ModuleAttribute.annotate(ModuleAttribute.java:53)
      1 frame
    6. IDEA
      JobLauncherImpl$VoidForkJoinTask.exec
      1. com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:159)
      2. com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:102)
      3. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:340)
      4. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$100(GeneralHighlightingPass.java:64)
      5. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$3.run(GeneralHighlightingPass.java:269)
      6. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
      7. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:64)
      8. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:300)
      9. com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86)
      10. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
      11. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
      12. com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:205)
      13. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:97)
      14. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
      15. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
      16. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
      17. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
      18. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
      19. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
      20. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      21. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:432)
      22. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
      23. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:204)
      23 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:109)
      5 frames