Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

com.intellij.psi.PsiInvalidElementAccessException #742

Closed
jxmdz opened this issue Feb 20, 2020 · 1 comment
Closed

com.intellij.psi.PsiInvalidElementAccessException #742

jxmdz opened this issue Feb 20, 2020 · 1 comment

Comments

@jxmdz
Copy link

jxmdz commented Feb 20, 2020

com.intellij.diagnostic.PluginException: class de.plushnikov.intellij.plugin.psi.LombokLightParameter; valid=true; method.valid=true [Plugin: Lombook Plugin]
at com.intellij.ide.plugins.PluginManagerCore.createPluginException(PluginManagerCore.java:405)
at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:12)
at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:58)
at com.intellij.codeInsight.daemon.impl.quickfix.ChangeMethodSignatureFromUsageFix.getNewParametersInfo(ChangeMethodSignatureFromUsageFix.java:328)
at com.intellij.codeInsight.daemon.impl.quickfix.ChangeMethodSignatureFromUsageFix.isAvailable(ChangeMethodSignatureFromUsageFix.java:150)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:155)
at com.intellij.codeInsight.intention.impl.CachedIntentions.wrapActionsTo(CachedIntentions.java:221)
at com.intellij.codeInsight.intention.impl.CachedIntentions.wrapAndUpdateActions(CachedIntentions.java:133)
at com.intellij.codeInsight.intention.impl.CachedIntentions.createAndUpdateActions(CachedIntentions.java:111)
at com.intellij.codeInsight.daemon.impl.DaemonTooltipActionProviderKt.getFirstAvailableAction(DaemonTooltipActionProvider.kt:96)
at com.intellij.codeInsight.daemon.impl.DaemonTooltipActionProviderKt.extractMostPriorityFixFromHighlightInfo(DaemonTooltipActionProvider.kt:87)
at com.intellij.codeInsight.daemon.impl.DaemonTooltipActionProvider.getTooltipAction(DaemonTooltipActionProvider.kt:22)
at com.intellij.codeInsight.daemon.impl.tooltips.TooltipActionProvider.calcTooltipAction(TooltipActionProvider.java:43)
at com.intellij.openapi.editor.EditorMouseHoverPopupManager$Info.createHighlightInfoComponent(EditorMouseHoverPopupManager.java:518)
at com.intellij.openapi.editor.EditorMouseHoverPopupManager$Info.createComponent(EditorMouseHoverPopupManager.java:502)
at com.intellij.openapi.editor.EditorMouseHoverPopupManager$Info.access$2400(EditorMouseHoverPopupManager.java:484)
at com.intellij.openapi.editor.EditorMouseHoverPopupManager.lambda$null$2(EditorMouseHoverPopupManager.java:190)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:309)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:441)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:424)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.PsiJavaCodeReferenceElementImpl #JAVA because: different providers: com.intellij.psi.DummyHolderViewProvider{myVirtualFile=LightVirtualFile: \DummyHolder, content=VirtualFileContent{size=0}}(22c5ae51); com.intellij.psi.SingleRootFileViewProvider{myVirtualFile=LightVirtualFile: \DummyHolder, content=VirtualFileContent{size=0}}(77441af7)
invalidated at: see attachment; Type element reference of class com.intellij.psi.impl.source.PsiFieldImpl #PsiFieldImpl #Language: JAVA; augmenters=[com.intellij.psi.impl.source.JShellPsiAugmentProvider@f453cb3, de.plushnikov.intellij.plugin.provider.LombokAugmentProvider@d7229ae]
at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:177)
at com.intellij.psi.impl.source.PsiClassReferenceType.resolve(PsiClassReferenceType.java:124)
at com.intellij.psi.util.PsiUtil.ensureValidType(PsiUtil.java:1268)
at com.intellij.psi.util.PsiUtil.ensureValidType(PsiUtil.java:1257)
at com.intellij.codeInsight.daemon.impl.quickfix.ChangeMethodSignatureFromUsageFix.getNewParametersInfo(ChangeMethodSignatureFromUsageFix.java:322)
... 35 more

@mplushnikov
Copy link
Owner

duplicate of #649

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants