com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl #JAVA because: different providers: com.intellij.psi.SingleRootFileViewProvider{vFile=file:///<****>/<****>.java, vFileId=187, content=VirtualFileContent{size=1260}, eventSystemEnabled=true}(17c06860); com.intellij.psi.SingleRootFileViewProvider{vFile=file:///**/****.java, vFileId=187, content=VirtualFileContent{size=1260}, eventSystemEnabled=true}(4893fd33)
invalidated at: see attachment; Type element reference of class com.intellij.psi.impl.source.PsiMethodImpl #PsiMethodImpl, index=0, invalid; augmenters=[com.intellij.psi.impl.source.JShellPsiAugmentProvider@78392d1c, com.intellij.psi.impl.RecordAugmentProvider@6b9a78c5, de.plushnikov.intellij.plugin.provider.LombokAugmentProvider@432a03d5]
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:181)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolve(PsiClassReferenceType.java:122)
at com.intellij.psi.util.PsiUtil.ensureValidType(PsiUtil.java:1349)
at com.intellij.psi.util.PsiUtil.ensureValidType(PsiUtil.java:1322)
at com.intellij.psi.PsiPrimitiveType.getUnboxedType(PsiPrimitiveType.java:163)
at org.jetbrains.plugins.groovy.lang.psi.util.GroovyPropertyUtils.isBooleanOrBoxed(GroovyPropertyUtils.java:566)
at org.jetbrains.plugins.groovy.lang.psi.util.GroovyPropertyUtils.isSimplePropertyGetter(GroovyPropertyUtils.java:197)
at org.jetbrains.plugins.groovy.lang.psi.util.GroovyPropertyUtils.isSimplePropertyGetter(GroovyPropertyUtils.java:190)
at org.jetbrains.plugins.groovy.lang.psi.util.GroovyPropertyUtils.getPropertyName(GroovyPropertyUtils.java:284)
at org.jetbrains.plugins.groovy.findUsages.AccessorReferencesSearcher.processQuery(AccessorReferencesSearcher.java:32)
at org.jetbrains.plugins.groovy.findUsages.AccessorReferencesSearcher.processQuery(AccessorReferencesSearcher.java:22)
at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:76)
at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:30)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:83)
at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:100)
at com.intellij.util.MergeQuery.processResults(MergeQuery.java:22)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:83)
at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:100)
at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:37)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:83)
at com.intellij.util.AbstractQuery.forEach(AbstractQuery
<TRIMMED STACKTRACE>
roundTask$4.run(Utils.kt:388)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:477)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:133)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:528)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:249)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:221)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:49)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:220)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:249)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:501)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:466)
at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:92)
at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:92)
at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:97)
at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:92)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:464)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Other Information
=== About ===
Build version: IntelliJ IDEA 2024.2.2 Build: #IC-242.22855.74 September 18, 2024
Theme: Light
JRE: 21.0.3+13-b509.15, JetBrains s.r.o.
JVM: 21.0.3+13-b509.15, OpenJDK 64-Bit Server VM, JetBrains s.r.o.
Operating System: Mac OS X 14.6.1 (aarch64)
=== Plugins ===
Custom plugins: [Space (242.22855.32), Karate (2.1.0), Lombok (242.22855.74), Codiumate - Code, test and review with confidence - by CodiumAI (0.9.6), GitHub Copilot (1.5.22.6765)]
Disabled plugins:[]
User Description
User did not enter any detailed information.
Stack Trace
Other Information