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 java.lang.NoSuchMethodError: 'int com.intellij.psi.PsiJavaCodeReferenceElement.getTypeParameterCount()'

Open
#6,616 0 comments 0 reactions 1 assignee View on GitHub

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 IC-221.5080.210
OS: Mac OS X
JDK: JetBrains s.r.o. 11.0.14.1
Plugin version: 3.64.0-2022.1
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1680x965,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=com.intellij.ui.ToolbarUtil$3@68725d40,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=java.lang.NoSuchMethodError: 'int com.intellij.psi.PsiJavaCodeReferenceElement.getTypeParameterCount()'
	at com.intellij.psi.impl.source.PsiClassReferenceType.getParameterCount(PsiClassReferenceType.java:212)
	at com.microsoft.azure.hdinsight.spark.run.SparkContextUtilsKt.isSparkContext(SparkContextUtils.kt:55)
	at com.microsoft.azure.hdinsight.spark.run.SparkContextUtilsKt.getSparkConfigurationContext(SparkContextUtils.kt:70)
	at com.microsoft.azure.hdinsight.spark.run.action.SparkRunConfigurationAction.update(SparkRunConfigurationAction.kt:70)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.