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
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

    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