java.lang.IllegalArgumentException: Argument for @NotNull parameter 'styleClass' of com/intellij/tasks/youtrack/YouTrackIntellisense.getAttributeByStyleClass must not be null

GitHub | jk1 | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Command assist parser throw exceptions from time to time

    GitHub | 1 year ago | jk1
    java.lang.IllegalArgumentException: Argument for @NotNull parameter 'styleClass' of com/intellij/tasks/youtrack/YouTrackIntellisense.getAttributeByStyleClass must not be null

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Argument for @NotNull parameter 'styleClass' of com/intellij/tasks/youtrack/YouTrackIntellisense.getAttributeByStyleClass must not be null

      at com.intellij.tasks.youtrack.YouTrackIntellisense.getAttributeByStyleClass()
    2. com.intellij.tasks
      YouTrackIntellisense$HighlightRange.getTextAttributes
      1. com.intellij.tasks.youtrack.YouTrackIntellisense.getAttributeByStyleClass(YouTrackIntellisense.java)
      2. com.intellij.tasks.youtrack.YouTrackIntellisense.access$200(YouTrackIntellisense.java:37)
      3. com.intellij.tasks.youtrack.YouTrackIntellisense$HighlightRange.getTextAttributes(YouTrackIntellisense.java:209)
      3 frames
    3. com.github.jk1
      CommandHighlightingAnnotator.apply
      1. com.github.jk1.ytplugin.lang.CommandHighlightingAnnotator.apply(CommandHighlightingAnnotator.kt:37)
      2. com.github.jk1.ytplugin.lang.CommandHighlightingAnnotator.apply(CommandHighlightingAnnotator.kt:11)
      2 frames
    4. IDEA
      ExternalToolPass$1$1.run
      1. com.intellij.codeInsight.daemon.impl.ExternalToolPass.applyRelevant(ExternalToolPass.java:195)
      2. com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$700(ExternalToolPass.java:44)
      3. com.intellij.codeInsight.daemon.impl.ExternalToolPass$1$1.run(ExternalToolPass.java:168)
      3 frames