microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception update failed for AnAction(com.microsoft.azure.hdinsight.spark.run.action.SparkJobRunAction, id=SparkJobRun) with text=SparkJobRun com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.tree.LeafPsiElement #Markdown because: containing file is null; hierarchy=class org.intellij.plugins.markdown.lang.psi.impl.MarkdownParagraph, context=null, contextFile=null
Open
Nobody has claimed this yet.
Module: HDInsight
- Dominant language
- Java
- Stars
- 262
- Forks
- 185
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
IntelliJ build version: 2022.1.3 IU-221.5921.22
OS: Windows 11
JDK: JetBrains s.r.o. 11.0.15
Plugin version: 3.70.1-2022.1
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,7,7,3073x1680,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]
Error message:
IdeaLoggingEvent[message=update failed for AnAction(com.microsoft.azure.hdinsight.spark.run.action.SparkJobRunAction, id=SparkJobRun) with text=SparkJobRun, throwable=com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.tree.LeafPsiElement #Markdown because: containing file is null; hierarchy=class org.intellij.plugins.markdown.lang.psi.impl.MarkdownParagraph, context=null, contextFile=null
invalidated at: see attachment; com.intellij.psi.impl.source.tree.LeafPsiElement:Markdown:Markdown:TEXT / com.intellij.psi.impl.sou
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reproducing the SparkJobRunAction update failure with IntelliJ 2022.1.3 and plugin 3.70.1-2022.1, then trace the PsiInvalidElementAccessException involving the invalid Markdown PSI element. Done means the action no longer reports this uncaught update exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100