I get this error constantly during debugging.
java.lang.IllegalStateException: Running sync tasks on pure EDT (w/o IW lock) is dangerous for several reasons. at com.intellij.openapi.progress.impl.ProgressRunner.checkIfForceDirectExecNeeded(ProgressRunner.java:281) at com.intellij.openapi.progress.impl.ProgressRunner.submit(ProgressRunner.java:219) at com.intellij.openapi.progress.impl.ProgressRunner.submitAndGet(ProgressRunner.java:192) at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:430) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:529) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:103) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:254) at com.perl5.lang.perl.idea.sdk.host.wsl.PerlWslHandler.computeSafeOnWsl(PerlWslHandler.java:117) at com.perl5.lang.perl.idea.sdk.host.wsl.PerlWslData.doGetRemotePath(PerlWslData.java:141) at com.perl5.lang.perl.idea.sdk.host.wsl.PerlWslData.getHelpersRootPath(PerlWslData.java:112) at com.perl5.lang.perl.idea.sdk.host.PerlHostData.getLocalPath(PerlHostData.java:151) at com.perl5.lang.perl.debugger.run.run.debugger.PerlDebugProfileState.mapPathToLocal(PerlDebugProfileState.java:127) at com.perl5.lang.perl.debugger.PerlStackFrame.lambda$new$0(PerlStackFrame.java:60) at com.intellij.openapi.util.NullableLazyValue$2.compute(NullableLazyValue.java:57) at com.intellij.openapi.util.AtomicNullableLazyValue.getValue(AtomicNullableLazyValue.java:31) at com.perl5.lang.perl.debugger.PerlStackFrame.getSourcePosition(PerlStackFrame.java:95) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList.getFile(XDebuggerFramesList.java:216) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList$XDebuggerFrameListRenderer.getFrameBgColor(XDebuggerFramesList.java:370) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList$XDebuggerFrameListRenderer.customizeCellRenderer(XDebuggerFramesList.java:301) at com.intellij.ui.ColoredListCellRenderer.getListCellRendererComponent(ColoredListCellRenderer.java:45) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList$XDebuggerGroupedFrameListRenderer.getListCellRendererComponent(XDebuggerFramesList.java:261) at com.intellij.ui.ExpandedItemListCellRendererWrapper.getListCellRendererComponent(ExpandedItemListCellRendererWrapper.java:24) at com.intellij.ui.components.WideSelectionListUI.updateLayoutState(WideSelectionListUI.java:197) at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1394) at java.desktop/javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:653) at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1721) at com.intellij.ui.components.JBList.getPreferredSize(JBList.java:216) at com.intellij.ui.components.JBScrollPane$Layout.layoutContainer(JBScrollPane.java:533) at java.desktop/java.awt.Container.layout(Container.java:1541) at java.desktop/java.awt.Container.doLayout(Container.java:1530) at java.desktop/java.awt.Container.validateTree(Container.java:1725) at java.desktop/java.awt.Container.lambda$validate$3(Container.java:1659) at java.desktop/sun.awt.SunToolkit.performWithTreeLock(SunToolkit.java:2161) at java.desktop/java.awt.Container.validate(Container.java:1648) at java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:760) at java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:758) 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.validateInvalidComponents(RepaintManager.java:757) at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1908) 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 com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.kt:731) at com.intellij.openapi.progress.util.ProgressWindow.lambda$startBlocking$4(ProgressWindow.java:218) at com.intellij.openapi.application.impl.ApplicationImpl.runUnlockingIntendedWrite(ApplicationImpl.java:862) at com.intellij.openapi.progress.util.ProgressWindow.lambda$startBlocking$5(ProgressWindow.java:213) at com.intellij.openapi.progress.util.ProgressWindow.executeInModalContext(ProgressWindow.java:194) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:211) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$execFromEDT$7(ProgressRunner.java:314) at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:757) at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:735) at java.base/java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2182) at com.intellij.openapi.progress.impl.ProgressRunner.execFromEDT(ProgressRunner.java:311) at com.intellij.openapi.progress.impl.ProgressRunner.submit(ProgressRunner.java:251) at com.intellij.openapi.progress.impl.ProgressRunner.submitAndGet(ProgressRunner.java:192) at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:430) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:529) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:103) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:254) at com.perl5.lang.perl.idea.sdk.host.wsl.PerlWslHandler.computeSafeOnWsl(PerlWslHandler.java:117) at com.perl5.lang.perl.idea.sdk.host.wsl.PerlWslData.doGetRemotePath(PerlWslData.java:141) at com.perl5.lang.perl.idea.sdk.host.wsl.PerlWslData.getHelpersRootPath(PerlWslData.java:112) at com.perl5.lang.perl.idea.sdk.host.PerlHostData.getLocalPath(PerlHostData.java:151) at com.perl5.lang.perl.debugger.run.run.debugger.PerlDebugProfileState.mapPathToLocal(PerlDebugProfileState.java:127) at com.perl5.lang.perl.debugger.PerlStackFrame.lambda$new$0(PerlStackFrame.java:60) at com.intellij.openapi.util.NullableLazyValue$2.compute(NullableLazyValue.java:57) at com.intellij.openapi.util.AtomicNullableLazyValue.getValue(AtomicNullableLazyValue.java:31) at com.perl5.lang.perl.debugger.PerlStackFrame.getSourcePosition(PerlStackFrame.java:95) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList.getFile(XDebuggerFramesList.java:216) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList$XDebuggerFrameListRenderer.getFrameBgColor(XDebuggerFramesList.java:370) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList$XDebuggerFrameListRenderer.customizeCellRenderer(XDebuggerFramesList.java:301) at com.intellij.ui.ColoredListCellRenderer.getListCellRendererComponent(ColoredListCellRenderer.java:45) at com.intellij.xdebugger.impl.frame.XDebuggerFramesList$XDebuggerGroupedFrameListRenderer.getListCellRendererComponent(XDebuggerFramesList.java:261) at com.intellij.ui.ExpandedItemListCellRendererWrapper.getListCellRendererComponent(ExpandedItemListCellRendererWrapper.java:24) at com.intellij.ui.components.WideSelectionListUI.updateLayoutState(WideSelectionListUI.java:197) at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1394) at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2815) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:224) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:204) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:251) at java.desktop/javax.swing.DefaultListSelectionModel.insertIndexInterval(DefaultListSelectionModel.java:675) at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.intervalAdded(BasicListUI.java:2773) at java.desktop/javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:157) at com.intellij.ui.CollectionListModel.addAll(CollectionListModel.java:66) at com.intellij.xdebugger.impl.frame.XFramesView$StackFramesListBuilder.addFrameListElements(XFramesView.java:584) at com.intellij.xdebugger.impl.frame.XFramesView$StackFramesListBuilder.lambda$addStackFrames$0(XFramesView.java:539) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:194) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:843) at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:463) at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:75) at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:67) at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1436) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:82) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:124) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:44) 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:114) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1014) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:349) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:843) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:391) at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.pumpEventsForHierarchy(PlatformTaskSupport.kt:396) at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.access$pumpEventsForHierarchy(PlatformTaskSupport.kt:1) at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:156) at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:134) at com.intellij.openapi.application.impl.ModalityKt.inModalContext(modality.kt:12) at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:134) at com.intellij.openapi.progress.impl.PlatformTaskSupport.access$runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:48) at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:122) at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:118) at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:86) at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:118) at com.intellij.platform.ide.progress.TasksKt.runWithModalProgressBlocking(tasks.kt:173) at com.intellij.platform.ide.progress.TasksKt.runWithModalProgressBlocking(tasks.kt:100) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditorImpl(FileEditorManagerImpl.kt:1346) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openTextEditor(FileEditorManagerImpl.kt:1395) at com.intellij.xdebugger.impl.XDebuggerUtilImpl.createEditor(XDebuggerUtilImpl.java:707) at com.intellij.xdebugger.impl.XDebuggerUtilImpl.openTextEditor(XDebuggerUtilImpl.java:700) at com.intellij.xdebugger.impl.ExecutionPositionNavigator.navigateTo(ExecutionPositionNavigator.kt:90) at com.intellij.xdebugger.impl.ExecutionPositionNavigator.navigateTo(ExecutionPositionNavigator.kt:63) at com.intellij.xdebugger.impl.ExecutionPositionNavigator$navigateTo$1.invokeSuspend(ExecutionPositionNavigator.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:43) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:843) at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:463) at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:75) at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:67) at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1436) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:82) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:124) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:44) 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.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:848) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:391) 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)
plese, provide information about plugin and ide version (ide info may be found in help: about)
I'm running Ultimate v2023.3.3 Plugin v2023.3
It's when I inititiate the debugger. Thank you
Update: Any luck on this? I'm getting this popup every time I try and debug. It must pop up 200 times a day. It's almost unusable now. I'm starting to wonder if it's even working properly. Is it my garbage code or the plugin? Idk, I can't debug properly.
It's when I hit a breakpoint. I'll spend a minute looking at my variables and it'll throw the error. When I hit F9 to resume, it'll throw another error. Should I bother reporting these errors? I have no idea if this helps you or not. It's taking time out of my day to report these. I'm trying to get my work done.
This looks like a plugin issue. Didn't look into it, tried to start 241 eap, sorry. Going too look into this soon.
Thanks buddy! We appreciate you!