com.intellij.psi.PsiInvalidElementAccessException: Element: class studio.edaphic.systemverilog.psi.SVFile #SystemVerilog because: different providers: SingleRootFileViewProvider{myVirtualFile=file:///Users/ekendahl/Projects/uvm/examples/integrated/ubus/examples/ubus_example_tb.sv, content=VirtualFileContent{size=2560}}(6d7eaec0); SingleRootFileViewProvider{myVirtualFile=file:///Users/ekendahl/Projects/uvm/examples/integrated/ubus/examples/ubus_example_tb.sv, content=VirtualFileContent{size=2560}}(5d621b9d)
invalidated at: see attachment
at com.intellij.psi.util.PsiUtilCore.ensureValid(PsiUtilCore.java:482)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.ensureValid(SmartPointerManagerImpl.java:100)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:80)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:73)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:68)
at com.intellij.ide.util.gotoByName.DefaultChooseByNameItemProvider.<init>(DefaultChooseByNameItemProvider.java:36)
at com.intellij.ide.util.gotoByName.ChooseByNameModelEx.getItemProvider(ChooseByNameModelEx.java:31)
at com.intellij.ide.util.gotoByName.ChooseByNameModelEx.getItemProvider(ChooseByNameModelEx.java:36)
at com.intellij.ide.util.gotoByName.ChooseByNamePopup.createPopup(ChooseByNamePopup.java:272)
at com.intellij.ide.actions.searcheverywhere.AbstractGotoSEContributor.lambda$fetchElements$1(AbstractGotoSEContributor.java:90)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1168)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:70)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:123)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:112)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:70)
at com.intellij.ide.actions.searcheverywhere.AbstractGotoSEContributor.fetchElements(AbstractGotoSEContributor.java:89)
at com.intellij.ide.actions.searcheverywhere.MultithreadSearcher$ContributorSearchTask.run(MultithreadSearcher.java:182)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:229)
at com.intellij.util.ConcurrencyUtil$3.run(ConcurrencyUtil.java:215)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
invalidation trace
java.lang.Throwable
at com.intellij.psi.impl.DebugUtil.startPsiModification(DebugUtil.java:520)
at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:551)
at com.intellij.psi.impl.file.impl.FileManagerImpl.setViewProvider(FileManagerImpl.java:243)
at com.intellij.psi.impl.file.impl.FileManagerImpl.forceReload(FileManagerImpl.java:149)
at com.intellij.psi.impl.file.impl.PsiVFSListener.propertyChanged(PsiVFSListener.java:315)
at com.intellij.psi.impl.file.impl.PsiVFSListener.fireForGrouped(PsiVFSListener.java:709)
at one.util.streamex.CollapseSpliterator.accept(CollapseSpliterator.java:150)
at one.util.streamex.CollapseSpliterator.forEachRemaining(CollapseSpliterator.java:140)
at one.util.streamex.AbstractStreamEx.forEach(AbstractStreamEx.java:306)
at com.intellij.psi.impl.file.impl.PsiVFSListener.groupAndFire(PsiVFSListener.java:682)
at com.intellij.psi.impl.file.impl.PsiVFSListener.after(PsiVFSListener.java:671)
at com.intellij.psi.impl.file.impl.PsiVFSListener$2.after(PsiVFSListener.java:106)
at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:117)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:397)
at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:358)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:347)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:324)
at com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:29)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:196)
at com.sun.proxy.$Proxy18.after(Unknown Source)
at com.intellij.util.FileContentUtilCore.lambda$reparseFiles$0(FileContentUtilCore.java:65)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1057)
at com.intellij.util.FileContentUtilCore.reparseFiles(FileContentUtilCore.java:55)
at com.intellij.util.FileContentUtilCore.reparseFiles(FileContentUtilCore.java:46)
at studio.edaphic.systemverilog.lexer.Reparser.run(SVCompilerDirectivesLookAheadLexer.kt:37)
at com.intellij.openapi.project.DumbServiceImpl.lambda$smartInvokeLater$7(DumbServiceImpl.java:435)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
induced
Following exceptions happened soon after this one, most probably they are induced.
2018-11-30T15:49:57.267
com.intellij.psi.PsiInvalidElementAccessException: Element: class studio.edaphic.systemverilog.psi.SVFile #SystemVerilog because: different providers: SingleRootFileViewProvider{myVirtualFile=file:///Users/ekendahl/Projects/uvm/examples/integrated/ubus/examples/ubus_example_tb.sv, content=VirtualFileContent{size=2560}}(6d7eaec0); SingleRootFileViewProvider{myVirtualFile=file:///Users/ekendahl/Projects/uvm/examples/integrated/ubus/examples/ubus_example_tb.sv, content=VirtualFileContent{size=2560}}(5d621b9d)
invalidated at: see attachment
at com.intellij.psi.util.PsiUtilCore.ensureValid(PsiUtilCore.java:482)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.ensureValid(SmartPointerManagerImpl.java:100)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:80)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:73)
at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:68)
at com.intellij.ide.util.gotoByName.DefaultChooseByNameItemProvider.<init>(DefaultChooseByNameItemProvider.java:36)
at com.intellij.ide.util.gotoByName.ChooseByNameModelEx.getItemProvider(ChooseByNameModelEx.java:31)
at com.intellij.ide.util.gotoByName.ChooseByNameModelEx.getItemProvider(ChooseByNameModelEx.java:36)
at com.intellij.ide.util.gotoByName.ChooseByNamePopup.createPopup(ChooseByNamePopup.java:272)
at com.intellij.ide.actions.searcheverywhere.AbstractGotoSEContributor.lambda$fetchElements$1(AbstractGotoSEContributor.java:90)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1168)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:70)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:123)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:112)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:70)
at com.intellij.ide.actions.searcheverywhere.AbstractGotoSEContributor.fetchElements(AbstractGotoSEContributor.java:89)
at com.intellij.ide.actions.searcheverywhere.MultithreadSearcher$ContributorSearchTask.run(MultithreadSearcher.java:182)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:229)
at com.intellij.util.ConcurrencyUtil$3.run(ConcurrencyUtil.java:215)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Left here for tracking of 2018.3.BETA.3
stacktrace:
invalidation trace
induced