Closed jorgecc closed 2 years ago
Oh, damn, thanks, guess it's same thing as https://github.com/klesun/deep-assoc-completion/issues/200
At first, I'd like to thank you for your great plugin. I wish that this
I got the same error »Inspections must be run under progress indicator. See ProgressManager.run() or .execute()«.
Additionally, I've got one project that cannot be closed (Windows 10 + PhpStorm 2022.1 Build PS-221.5080.224
). When I try to close the project (with window close button or file menu »Close project«) »nothing« happens = the project window stays opened, but I've got this error. I have to disable the deep-assoc-completion plugin, restart and can then close this specific project. I don't have this issue on all projects, but on this one (older) project it's always the same.
After closing the old project, I enabled the dac-plugin again and restart because I miss the plugin, when it's disabled.
java.lang.IllegalStateException: Inspections must be run under progress indicator. See ProgressManager.run*() or .execute*()
at com.intellij.codeInspection.InspectionManagerBase.defaultProcessFile(InspectionManagerBase.java:192)
at com.intellij.codeInspection.LocalInspectionTool.processFile(LocalInspectionTool.java:190)
at org.klesun.deep_assoc_completion.entry.RemoveUnusedUsesSaveHandler.beforeDocumentSaving(RemoveUnusedUsesSaveHandler.java:46)
at jdk.internal.reflect.GeneratedMethodAccessor342.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.multiCast(FileDocumentManagerImpl.java:185)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.lambda$new$0(FileDocumentManagerImpl.java:128)
at com.sun.proxy.$Proxy20.beforeDocumentSaving(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.lambda$doSaveDocumentInWriteAction$4(FileDocumentManagerImpl.java:407)
at com.intellij.pom.core.impl.PomModelImpl.guardPsiModificationsIn(PomModelImpl.java:326)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.doSaveDocumentInWriteAction(FileDocumentManagerImpl.java:406)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.lambda$doSaveDocument$2(FileDocumentManagerImpl.java:367)
at com.intellij.openapi.application.WriteAction.lambda$run$1(WriteAction.java:86)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteActionWithClass(ApplicationImpl.java:1003)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1029)
at com.intellij.openapi.application.WriteAction.run(WriteAction.java:85)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.doSaveDocument(FileDocumentManagerImpl.java:367)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocuments(FileDocumentManagerImpl.java:287)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:262)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:255)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$MyProjectCloseHandler.canClose(FileDocumentManagerImpl.java:151)
at com.intellij.openapi.project.impl.ProjectManagerImpl.canClose(ProjectManagerImpl.java:496)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.java:346)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeAndDispose(ProjectManagerImpl.java:403)
at com.intellij.ide.actions.CloseProjectsActionBase.actionPerformed(CloseProjectsActionBase.kt:26)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:235)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:256)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:235)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$performAction$0(ActionMenuItem.java:289)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:233)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.performAction(ActionMenuItem.java:281)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:296)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$2(ActionMenuItem.java:111)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:95)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:111)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:540)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:570)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6654)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
at java.desktop/java.awt.Component.processEvent(Component.java:6419)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5029)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2793)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
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:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:898)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:820)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:743)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:439)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:803)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:438)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:119)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:604)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:436)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:873)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:484)
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)
Same here :disappointed:
@dpesch judging by the stack trace in your specific case the error is likely caused by this checkbox in settings:
I bet it's also the reason why you can't close the project. If my guess was right, I advise to unset this checkbox, there are other issues with it as well: https://github.com/klesun/deep-assoc-completion/issues/175
This setting shall probably be removed in the next release, it does not work since 2022.1 anyway. Hope phpstorm ships built-in unused imports auto-removal functionality nowadays.
In all other reports the Must be executed under progress indicator
error seems to be caused by the "Go To Definition" action (ctrl+click or ctrl+b). I could deploy a fix if I manage to reproduce the issue, but so far I could not find the steps to reproduce. If someone could provide me with a minimal example, that would be awesome.
If there is some open source php project where the error can be easily triggered, that will do to.
@klesun Thank you very much. After unsetting this checkbox »Remove unused use-s on save« I can open and close 🎉 my old project again. 👍
I think the auto-removal import function is already included, or did I misunderstand this function »Optimize imports« in File | Settings | Tools | Actions on Save:
Another stacktrace:
java.lang.Throwable: Must be executed under progress indicator: com.intellij.openapi.progress.EmptyProgressIndicator@515d54b. Please see e.g. ProgressManager.runProcess()
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182)
at com.intellij.openapi.progress.impl.CoreProgressManager.assertUnderProgress(CoreProgressManager.java:996)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processFilesConcurrentlyDespiteWriteActions(PsiSearchHelperImpl.java:428)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$processPsiFileRoots$8(PsiSearchHelperImpl.java:397)
at com.intellij.psi.impl.PsiManagerImpl.runInBatchFilesMode(PsiManagerImpl.java:451)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processPsiFileRoots(PsiSearchHelperImpl.java:393)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processElementsWithTextInGlobalScope(PsiSearchHelperImpl.java:314)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.bulkProcessElementsWithWord(PsiSearchHelperImpl.java:223)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processSingleRequest(PsiSearchHelperImpl.java:1136)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processGlobalRequestsOptimized(PsiSearchHelperImpl.java:840)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processRequests(PsiSearchHelperImpl.java:769)
at com.intellij.psi.search.SearchRequestQuery.processResults(SearchRequestQuery.java:24)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:108)
at com.intellij.util.MergeQuery.processResults(MergeQuery.java:22)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:108)
at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:37)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
at com.intellij.util.Query.iterator(Query.java:129)
at com.intellij.util.AbstractQuery.iterator(AbstractQuery.java:39)
at org.klesun.lang.iterators.FlatMapIterator.lambda$getIterators$2(FlatMapIterator.java:22)
at org.klesun.lang.It.lambda$map$8(It.java:167)
at org.klesun.lang.iterators.MapIterator.next(MapIterator.java:23)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:33)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:32)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:32)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:32)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:32)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.MemIt$1.hasNext(MemIt.java:38)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:34)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:34)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:32)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.FilterIterator.getCurrent(FilterIterator.java:25)
at org.klesun.lang.iterators.FilterIterator.hasNext(FilterIterator.java:38)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:34)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:34)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.FilterIterator.getCurrent(FilterIterator.java:25)
at org.klesun.lang.iterators.FilterIterator.hasNext(FilterIterator.java:38)
at org.klesun.lang.iterators.FilterIterator.getCurrent(FilterIterator.java:25)
at org.klesun.lang.iterators.FilterIterator.hasNext(FilterIterator.java:38)
at org.klesun.lang.iterators.MapIterator.hasNext(MapIterator.java:19)
at org.klesun.lang.iterators.FlatMapIterator.getNextSup(FlatMapIterator.java:34)
at org.klesun.lang.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:43)
at org.klesun.lang.iterators.EndIterator.getCurrent(EndIterator.java:20)
at org.klesun.lang.iterators.EndIterator.hasNext(EndIterator.java:41)
at org.klesun.lang.iterators.FilterIterator.getCurrent(FilterIterator.java:25)
at org.klesun.lang.iterators.FilterIterator.hasNext(FilterIterator.java:38)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)
at org.klesun.lang.IIt.arr(IIt.java:149)
at org.klesun.deep_assoc_completion.go_to_decl_providers.MainGoToDecl.getGotoDeclarationTargets(MainGoToDecl.java:116)
at com.intellij.codeInsight.navigation.impl.GtdProvidersKt.fromGTDProvidersInner(gtdProviders.kt:31)
at com.intellij.codeInsight.navigation.impl.GtdProvidersKt.access$fromGTDProvidersInner(gtdProviders.kt:1)
at com.intellij.codeInsight.navigation.impl.GtdProvidersKt$fromGTDProviders$1.invoke(gtdProviders.kt:18)
at com.intellij.codeInsight.navigation.impl.GtdProvidersKt$fromGTDProviders$1.invoke(gtdProviders.kt)
at com.intellij.codeInsight.navigation.impl.CommonKt.processInjectionThenHost(common.kt:25)
at com.intellij.codeInsight.navigation.impl.GtdProvidersKt.fromGTDProviders(gtdProviders.kt:17)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationOrUsageHandler2.gotoDeclarationOrUsages(GotoDeclarationOrUsageHandler2.kt:30)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationOrUsageHandler2.getCtrlMouseData(GotoDeclarationOrUsageHandler2.kt:41)
at com.intellij.codeInsight.navigation.actions.GotoDeclarationAction.getCtrlMouseData(GotoDeclarationAction.java:95)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2$computeInReadAction$1.invoke(CtrlMouseHandler.kt:235)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2$computeInReadAction$1.invoke(CtrlMouseHandler.kt:77)
at com.intellij.lang.documentation.ide.impl.DocumentationTargetHoverInfoKt.injectedThenHost(DocumentationTargetHoverInfo.kt:76)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2.computeInReadAction(CtrlMouseHandler.kt:234)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2.access$computeInReadAction(CtrlMouseHandler.kt:77)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2$compute$2$1.invoke(CtrlMouseHandler.kt:222)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2$compute$2$1.invoke(CtrlMouseHandler.kt:77)
at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:96)
at com.intellij.openapi.application.rw.InternalReadAction.access$insideReadAction(InternalReadAction.kt:13)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$1.invoke(InternalReadAction.kt:81)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$1.invoke(InternalReadAction.kt:13)
at com.intellij.openapi.progress.CancellationKt$sam$com_intellij_openapi_util_ThrowableComputable$0.compute(cancellation.kt)
at com.intellij.openapi.progress.Cancellation.withJob(Cancellation.java:60)
at com.intellij.openapi.progress.CancellationKt.withJob(cancellation.kt:14)
at com.intellij.openapi.progress.CancellationKt.executeWithJobAndCompleteIt(cancellation.kt:111)
at com.intellij.openapi.application.rw.CancellableReadActionKt$cancellableReadActionInternal$2$1.run(cancellableReadAction.kt:34)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1152)
at com.intellij.openapi.application.rw.CancellableReadActionKt$cancellableReadActionInternal$2.run(cancellableReadAction.kt:32)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:158)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:30)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:80)
at com.intellij.openapi.application.rw.InternalReadAction.access$tryReadCancellable(InternalReadAction.kt:13)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadAction$2.invoke(InternalReadAction.kt:66)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadAction$2.invoke(InternalReadAction.kt:13)
at com.intellij.openapi.progress.CancellationKt$sam$com_intellij_openapi_util_ThrowableComputable$0.compute(cancellation.kt)
at com.intellij.openapi.progress.Cancellation.withJob(Cancellation.java:60)
at com.intellij.openapi.progress.CancellationKt.withJob(cancellation.kt:14)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:138)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:61)
at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:53)
at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:13)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invokeSuspend(InternalReadAction.kt:33)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invoke(InternalReadAction.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:32)
at com.intellij.openapi.application.rw.PlatformReadActionSupport.executeReadAction(PlatformReadActionSupport.kt:24)
at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:50)
at com.intellij.codeInsight.navigation.CtrlMouseHandler2$compute$2.invokeSuspend(CtrlMouseHandler.kt:221)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
I'm not doing anything special at all when this shows up. It's hard to relate a particular action to the error, I just kinda notice "oh there's a flashing red bubble in the bottom-right corner of my IDE".
I could uncheck "Enable Method/Field Deep Completion", but isn't that feature the whole point of this plugin? :thinking:
May I ask, do you have $GLOBALS
references somewhere in the project where this error fires?
I do, yes. This is a legacy project with a mix of procedural files and modern classes.
Thanks a lot. I finally reproduced it!
It seems to happen when you go to definition of a gloabal variable
Upd.: to be more exact, it happens when you ctrl+hover on a global variable
Should have been fixed in 2022.06.12.001 with https://github.com/klesun/deep-assoc-completion/commit/51fbfbf690d2a60db877f50ab22080e6025dcb2d
Hi there:
I updated to phpstorm 2022.1 and it randomly generates the next error:
However, the library still works but the message is quite annoying.