Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.Throwable: Light files should have PSI only in one project, existing=com.intellij.psi.SingleRootFileViewProvider{vFile=LightVirtualFile: /AcousticToKafkaIntegrationFlow.java, content=VirtualFileContent{size=6881}, eventSystemEnabled=false} in Project(name=communications-provider, containerState=COMPONENT_CREATED, componentStore=/Users/c074227/IntelliJ/enterprise-marketing-channel-activation/communications-provider), requested in Project(name=marketing-suppression-rules-engine, containerState=COMPONENT_CREATED, componentStore=/Users/c074227/IntelliJ/Marketing/marketing-suppression-rules-engine); psiFiles: class com.intellij.psi.impl.source.PsiJavaFileImpl [Language: JAVA] #41

Open
TristinDavis opened this issue Sep 21, 2023 · 0 comments

Comments

@TristinDavis
Copy link

Bug description

Please include steps to reproduce (like go to.../click on... etc.) + expected and actual behaviour.

For non-trivial issues, we would also appreciate if you included the following details (if not filled in automatically):

Running environment

  • Graph Buddy plugin version - 1.0.1
  • IDE - IntelliJ IDEA 2023.2.2
  • Operating system - Mac OS X 13.5

IDEA - Stack trace

java.lang.Throwable: Light files should have PSI only in one project, existing=com.intellij.psi.SingleRootFileViewProvider{vFile=LightVirtualFile: /AcousticToKafkaIntegrationFlow.java, content=VirtualFileContent{size=6881}, eventSystemEnabled=false} in Project(name=communications-provider, containerState=COMPONENT_CREATED, componentStore=/Users/c074227/IntelliJ/enterprise-marketing-channel-activation/communications-provider), requested in Project(name=marketing-suppression-rules-engine, containerState=COMPONENT_CREATED, componentStore=/Users/c074227/IntelliJ/Marketing/marketing-suppression-rules-engine); psiFiles: class com.intellij.psi.impl.source.PsiJavaFileImpl [Language: JAVA]
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
at com.intellij.psi.impl.file.impl.FileManagerImpl.checkLightFileHasNoOtherPsi(FileManagerImpl.java:205)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findViewProvider(FileManagerImpl.java:193)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:358)
at com.intellij.psi.impl.PsiDocumentManagerBase.getPsiFile(PsiDocumentManagerBase.java:149)
at com.intellij.psi.impl.PsiDocumentManagerBase.getPsiFile(PsiDocumentManagerBase.java:98)
at com.intellij.psi.impl.PsiDocumentManagerImpl.getPsiFile(PsiDocumentManagerImpl.java:64)
at com.virtuslab.semanticgraphs.intellijplugin.changelistener.DocumentEditListener.getPathOfDocument$$anonfun$1$$anonfun$1(DocumentEditListener.scala:43)
at scala.util.Try$.apply(Try.scala:210)
at com.virtuslab.semanticgraphs.intellijplugin.changelistener.DocumentEditListener.getPathOfDocument$$anonfun$1(DocumentEditListener.scala:43)
at com.virtuslab.semanticgraphs.intellijplugin.util.Computable$.apply$$anonfun$2(ThreadingUtils.scala:33)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:909)
at com.virtuslab.semanticgraphs.intellijplugin.util.ThreadingUtils$.computeAsReadAction$$anonfun$1$$anonfun$1(ThreadingUtils.scala:25)
at com.virtuslab.semanticgraphs.intellijplugin.util.ThreadingUtils$.computeAction$$anonfun$1$$anonfun$1(ThreadingUtils.scala:20)
at scala.util.Try$.apply(Try.scala:210)
at com.virtuslab.semanticgraphs.intellijplugin.util.ThreadingUtils$.computeAction$$anonfun$1(ThreadingUtils.scala:20)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:208)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:190)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:478)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:100)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:121)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:589)
at com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(ApplicationImpl.java:1485)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:589)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

IDEA - additional info

N/A

Screenshots

If applicable, add screenshots (or screen recordings, see Peek on Linux)
to help explain your problem.

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

No branches or pull requests

1 participant