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

RuntimeExceptionWithAttachments thrown in IntelliJ 2023.3.x #77

Open
TravisWhip opened this issue Feb 23, 2024 · 0 comments
Open

RuntimeExceptionWithAttachments thrown in IntelliJ 2023.3.x #77

TravisWhip opened this issue Feb 23, 2024 · 0 comments

Comments

@TravisWhip
Copy link

TravisWhip commented Feb 23, 2024

Exceptions are thrown when trying to Mark Nodes or Isolate Nodes.

The diagrams generated do not seem to be interactable. Marking Nodes and Isolating Nodes does not seem to have any affect on the diagram or individual nodes.

When loading a Diagram or trying to Isolating Nodes:

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
Current thread: Thread[AWT-EventQueue-0,6,main] 1550078836 (EventQueue.isDispatchThread()=true)
SystemEventQueueThread: (same)
	at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:149)
	at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:107)
	at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1012)
	at com.intellij.psi.impl.smartPointers.SmartPointerManagerImpl.createSmartPsiElementPointer(SmartPointerManagerImpl.java:68)
	at com.intellij.psi.impl.ElementBase$ElementIconRequest.<init>(ElementBase.java:171)
	at com.intellij.psi.impl.ElementBase$ElementIconRequest.<init>(ElementBase.java:166)
	at com.intellij.psi.impl.ElementBase.computeIcon(ElementBase.java:86)
	at com.intellij.psi.impl.ElementBase.getIcon(ElementBase.java:62)
	at ch.docksnet.rgraph.method.ReferenceNode.getIcon(ReferenceNode.java:57)
	at com.intellij.diagram.DiagramNode.getIcon(DiagramNode.java:56)
	at com.intellij.diagram.components.DiagramNodeDeferredIconsEvaluator.lambda$getUnevaluatedIcon$0(DiagramNodeDeferredIconsEvaluator.java:59)
	at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:195)
	at com.intellij.diagram.components.DiagramNodeDeferredIconsEvaluator.getUnevaluatedIcon(DiagramNodeDeferredIconsEvaluator.java:59)
	at com.intellij.diagram.components.DiagramNodeDeferredIconsEvaluator.registerEvaluationOrGetReadyIcon(DiagramNodeDeferredIconsEvaluator.java:66)
	at com.intellij.diagram.components.DiagramNodeHeaderComponent.createLabel(DiagramNodeHeaderComponent.java:104)
	at com.intellij.diagram.components.DiagramNodeHeaderComponent.<init>(DiagramNodeHeaderComponent.java:47)
	at com.intellij.diagram.components.DiagramNodeContainer.<init>(DiagramNodeContainer.java:144)
	at com.intellij.diagram.extras.DiagramExtras.createNodeComponent(DiagramExtras.java:127)
	at com.intellij.uml.core.renderers.DefaultUmlRenderer.tuneNode(DefaultUmlRenderer.java:88)
	at com.intellij.uml.core.renderers.DefaultUmlRenderer.tuneNode(DefaultUmlRenderer.java:79)
	at com.intellij.openapi.graph.builder.renderer.AbstractColoredNodeCellRenderer.createNodeRealizerComponent(AbstractColoredNodeCellRenderer.java:56)
	at com.intellij.uml.core.renderers.DefaultUmlRenderer.createNodeRealizerComponent(DefaultUmlRenderer.java:74)
	at com.intellij.openapi.graph.builder.renderer.BasicNodeCellRenderer$MyRealizerComponents.lambda$getOrCompute$0(BasicNodeCellRenderer.java:113)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1220)
	at com.intellij.openapi.graph.builder.renderer.BasicNodeCellRenderer$MyRealizerComponents.getOrCompute(BasicNodeCellRenderer.java:111)
	at com.intellij.openapi.graph.builder.renderer.BasicNodeCellRenderer.getNodeCellRendererComponent(BasicNodeCellRenderer.java:65)
	at com.intellij.openapi.graph.impl.GraphBase$NodeCellRendererProxy.getNodeCellRendererComponent(GraphBase.java:457)
	at a.a.Fk.y(Unknown Source)
	at com.intellij.openapi.graph.impl.view.FastNodeCellRendererPainter.paintNode(FastNodeCellRendererPainter.java:40)
	at a.a.Fd.y(Unknown Source)
	at a.a.Fd.a(Unknown Source)
	at a.a.rX.paint(Unknown Source)
	at a.a.r0.a(Unknown Source)
	at a.a.ap.y(Unknown Source)
	at a.a.r0.y(Unknown Source)
	at a.a.r0.a(Unknown Source)
	at a.a.Ps.r(Unknown Source)
	at a.a.Ps.paintComponent(Unknown Source)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1115)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5312)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1668)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1643)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1580)
	at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1347)
	at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5260)
	at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5070)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:882)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:865)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:865)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:838)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:787)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1909)
	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:695)
	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12(IdeEventQueue.kt:589)
	at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead(RwLockHolder.kt:44)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:589)
	at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:72)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:355)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:354)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:793)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:354)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:349)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1014)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1014)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:349)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:386)
	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)
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