ClassCastException: SuperMethodsSearch$SearchParameters cannot be cast to GotoSuper$OptionsRoutine

Issue #98 duplicate
Former user created an issue

java.lang.ClassCastException: class com.intellij.psi.search.searches.SuperMethodsSearch$SearchParameters cannot be cast to class com.siberika.idea.pascal.lang.search.GotoSuper$OptionsRoutine (com.intellij.psi.search.searches.SuperMethodsSearch$SearchParameters is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @4208226d; com.siberika.idea.pascal.lang.search.GotoSuper$OptionsRoutine is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @46277558) at com.siberika.idea.pascal.lang.search.PascalSuperMethodSearch.processQuery(PascalSuperMethodSearch.java:8) at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77) at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:31) at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91) at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:114) at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:40) at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91) at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83) at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:27) at com.intellij.psi.impl.PsiSuperMethodImplUtil.findSuperMethodSignatures(PsiSuperMethodImplUtil.java:78) at com.intellij.psi.impl.PsiSuperMethodImplUtil.findSuperMethodsInternal(PsiSuperMethodImplUtil.java:62) at com.intellij.psi.impl.PsiSuperMethodImplUtil.findSuperMethods(PsiSuperMethodImplUtil.java:56) at com.intellij.psi.impl.PsiSuperMethodImplUtil.findSuperMethods(PsiSuperMethodImplUtil.java:44) at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.members.GrMethodBaseImpl.findSuperMethods(GrMethodBaseImpl.java:377) at com.intellij.codeInsight.AnnotationUtil.isAnnotated(AnnotationUtil.java:343) at com.intellij.codeInsight.AnnotationUtil.isAnnotated(AnnotationUtil.java:293) at com.intellij.execution.junit.JUnitUtil.isJUnit4TestAnnotated(JUnitUtil.java:330) at com.intellij.execution.junit.JUnitUtil.isJUnit4TestClass(JUnitUtil.java:251) at com.intellij.execution.junit.JUnit4Framework.isTestClass(JUnit4Framework.java:55) at com.intellij.testIntegration.JavaTestFramework.isTestClass(JavaTestFramework.java:54) at com.intellij.codeInsight.TestFrameworks.computeFramework(TestFrameworks.java:88) at com.intellij.codeInsight.TestFrameworks.lambda$detectFramework$0(TestFrameworks.java:59) at com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:148) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:240) at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:241) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) at com.intellij.util.CachedValuesManagerImpl.getCachedValueFromExHolder(CachedValuesManagerImpl.java:72) at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:45) at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:147) at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:129) at com.intellij.codeInsight.TestFrameworks.detectFramework(TestFrameworks.java:58) at com.intellij.testIntegration.createTest.CreateTestAction.isAvailableForElement(CreateTestAction.java:85) at com.intellij.testIntegration.createTest.CreateTestAction.isAvailable(CreateTestAction.java:53) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:133) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.lambda$getActionsToShow$1(ShowIntentionsPass.java:299) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:160) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:297) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:220) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:55) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:429) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:422) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:421) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:397) at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:164) at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:204) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:395) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Comments (1)

  1. Log in to comment