java.lang.IllegalArgumentException: Argument for @NotNull parameter 'startElement' of com/intellij/codeInspection/LocalQuickFixOnPsiElement.isAvailable must not be null

GitHub | sstok | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 17#253158667

    GitHub | 7 months ago | sstok
    java.lang.IllegalArgumentException: Argument for @NotNull parameter 'startElement' of com/intellij/codeInspection/LocalQuickFixOnPsiElement.isAvailable must not be null
  2. 0

    A fatal error happens when opening a project without a composer.json

    GitHub | 2 years ago | stof
    java.lang.IllegalArgumentException: Argument for @NotNull parameter 'startElement' of com/intellij/codeInspection/LocalQuickFixOnPsiElement.isAvailable must not be null

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Argument for @NotNull parameter 'startElement' of com/intellij/codeInspection/LocalQuickFixOnPsiElement.isAvailable must not be null

      at com.intellij.codeInspection.LocalQuickFixOnPsiElement.isAvailable()
    2. IDEA
      LocalQuickFixOnPsiElement.isAvailable
      1. com.intellij.codeInspection.LocalQuickFixOnPsiElement.isAvailable(LocalQuickFixOnPsiElement.java)
      1 frame
    3. org.psliwa.idea
      QuickFixIntentionActionAdapter.isAvailable
      1. org.psliwa.idea.composerJson.intellij.codeAssist.QuickFixIntentionActionAdapter.isAvailable(QuickFixIntentionActionAdapter.scala:15)
      1 frame
    4. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.a(ShowIntentionsPass.java:130)
      2. com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.a(ShowIntentionsPass.java:84)
      3. com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.a(DaemonCodeAnalyzerImpl.java:646)
      4. com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerEx.b(DaemonCodeAnalyzerEx.java:59)
      5. com.intellij.openapi.editor.impl.MarkupModelImpl.processRangeHighlightersOverlappingWith(MarkupModelImpl.java:254)
      6. com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerEx.processHighlights(DaemonCodeAnalyzerEx.java:53)
      7. com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.processHighlightsNearOffset(DaemonCodeAnalyzerImpl.java:642)
      8. com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getAvailableActions(ShowIntentionsPass.java:83)
      9. com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:276)
      10. com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.a(ShowIntentionsPass.java:222)
      11. com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:198)
      12. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      13. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:434)
      14. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1026)
      15. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:427)
      16. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
      17. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      18. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      19. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:426)
      20. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
      21. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154)
      21 frames
    5. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      4 frames