microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception SparkJobRunAction#update@EditorPopup (com.microsoft.azure.hdinsight.spark.run.action.SparkJobRunAction), actionId=SparkJobRun, text='SparkJobRun' com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.tree.PsiPlainTextImpl #TEXT because: file://C:/IdeaProjects/secunet/bm-1/files/processed/JohnDoe_tr03135_withBCL-Log.xml.decrypted (invalid) is invalid
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.2.3 IU-222.4345.14
OS: Windows 11
JDK: JetBrains s.r.o. 17.0.4.1
Plugin version: 3.70.1-2022.2
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,9,9,1919x1078,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]
Error message:
IdeaLoggingEvent[message=SparkJobRunAction#update@EditorPopup (com.microsoft.azure.hdinsight.spark.run.action.SparkJobRunAction), actionId=SparkJobRun, text='SparkJobRun', throwable=com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.tree.PsiPlainTextImpl #TEXT because: file://C:/IdeaProjects/secunet/bm-1/files/processed/JohnDoe_tr03135_withBCL-Log.xml.decrypted (invalid) is invalid
invalidated at: see attachment
at com.microsoft.azure.hdinsight.spark.run.SparkContextUtilsKt.getSp
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
Start with the SparkJobRunAction#update stack trace and the referenced SparkContextUtilsKt.getSp entry in the Azure Tools for Java IntelliJ plugin. Reproduce the action on the invalid XML file described in the report and determine the cause of the PsiInvalidElementAccessException; done means the action no longer throws this 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
- 20/100