How to suppress "ide error occurred" message?
I'm using 2022.2.EAP with golang 1.18.3 SDK
I see the below error message every ~10 min or so, and it's very annoying
Is there a way to suppress this message?
FYI, below is the error details, but the scope of this topic is just to suppress the message
java.lang.Throwable: DataContext shall not be created and queried inside another getData() call.
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:184)
at com.intellij.ide.impl.DataManagerImpl.getDataContext(DataManagerImpl.java:244)
at com.maddyhome.idea.vim.helper.VimActionExecutor$DialogAwareDataContext.getData(VimActionExecutor.java:90)
at com.intellij.ide.impl.DataManagerImpl.lambda$getCustomizedData$4(DataManagerImpl.java:157)
at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderInner(DataManagerImpl.java:81)
at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderAndRules(DataManagerImpl.java:60)
at com.intellij.ide.impl.DataManagerImpl.getCustomizedData(DataManagerImpl.java:154)
at com.intellij.openapi.actionSystem.CustomizedDataContext.getData(CustomizedDataContext.java:31)
at com.intellij.openapi.actionSystem.DataContextWrapper.getData(DataContextWrapper.java:43)
at com.intellij.openapi.actionSystem.AnActionEvent$InjectedDataContext.getRawCustomData(AnActionEvent.java:276)
at com.intellij.openapi.actionSystem.CustomizedDataContext.getCustomData(CustomizedDataContext.java:25)
at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderInner(DataManagerImpl.java:81)
at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderAndRules(DataManagerImpl.java:60)
at com.intellij.ide.impl.DataManagerImpl.lambda$getCustomizedData$4(DataManagerImpl.java:155)
at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderInner(DataManagerImpl.java:81)
at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderAndRules(DataManagerImpl.java:60)
at com.intellij.ide.impl.DataManagerImpl.getCustomizedData(DataManagerImpl.java:154)
at com.intellij.openapi.actionSystem.CustomizedDataContext.getData(CustomizedDataContext.java:31)
at com.intellij.openapi.actionSystem.DataContextWrapper.getData(DataContextWrapper.java:43)
at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:63)
at com.intellij.openapi.editor.actionSystem.EditorAction.getEditor(EditorAction.java:82)
at com.intellij.openapi.editor.actionSystem.EditorAction.update(EditorAction.java:137)
at com.intellij.openapi.actionSystem.AnAction.beforeActionPerformedUpdate(AnAction.java:322)
at com.intellij.openapi.editor.actionSystem.EditorAction.beforeActionPerformedUpdate(EditorAction.java:130)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:147)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:173)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lastUpdateAndCheckDumb(ActionUtil.java:264)
at com.maddyhome.idea.vim.helper.ActionExecutor.executeAction(ActionExecutor.java:45)
at com.maddyhome.idea.vim.group.ChangeGroup.runEnterAction(ChangeGroup.java:292)
at com.maddyhome.idea.vim.group.ChangeGroup.insertNewLineBelow(ChangeGroup.java:264)
at com.maddyhome.idea.vim.action.change.insert.InsertNewLineBelowAction.execute(InsertNewLineBelowAction.kt:49)
at com.maddyhome.idea.vim.handler.ChangeEditorActionHandler.baseExecute(ChangeEditorActionHandler.kt:108)
at com.maddyhome.idea.vim.handler.EditorActionHandlerBase.doExecute(EditorActionHandlerBase.kt:102)
at com.maddyhome.idea.vim.handler.EditorActionHandlerBase.access$doExecute(EditorActionHandlerBase.kt:57)
at com.maddyhome.idea.vim.handler.EditorActionHandlerBase$execute$action$1.invoke(EditorActionHandlerBase.kt:83)
at com.maddyhome.idea.vim.handler.EditorActionHandlerBase$execute$action$1.invoke(EditorActionHandlerBase.kt:83)
at com.maddyhome.idea.vim.handler.EditorActionHandlerBase.execute(EditorActionHandlerBase.kt:87)
at com.maddyhome.idea.vim.helper.VimActionExecutor.lambda$executeVimAction$0(VimActionExecutor.java:47)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:210)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)
at com.maddyhome.idea.vim.helper.VimActionExecutor.executeVimAction(VimActionExecutor.java:47)
at com.maddyhome.idea.vim.KeyHandler$ActionRunner.run(KeyHandler.kt:898)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1023)
at com.maddyhome.idea.vim.helper.RunnableHelper.runWriteCommand$lambda-3(RunnableHelper.kt:43)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)
at com.maddyhome.idea.vim.helper.RunnableHelper.runWriteCommand(RunnableHelper.kt:43)
at com.maddyhome.idea.vim.KeyHandler.executeCommand(KeyHandler.kt:716)
at com.maddyhome.idea.vim.KeyHandler.finishedCommandPreparation(KeyHandler.kt:245)
at com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.kt:231)
at com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.kt:125)
at com.maddyhome.idea.vim.VimTypedActionHandler.execute(VimTypedActionHandler.kt:77)
at com.intellij.openapi.editor.actionSystem.TypedAction.lambda$actionPerformed$2(TypedAction.java:200)
at com.intellij.reporting.FreezeLoggerImpl.runUnderPerformanceMonitor(FreezeLoggerImpl.java:28)
at com.intellij.openapi.editor.actionSystem.TypedAction.lambda$actionPerformed$3(TypedAction.java:199)
at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:149)
at com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(TypedAction.java:199)
at com.intellij.openapi.editor.impl.EditorImpl.processKeyTypedNormally(EditorImpl.java:1330)
at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:1312)
at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:3475)
at com.intellij.openapi.editor.impl.EditorImpl$7.keyTyped(EditorImpl.java:1145)
at java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
at java.desktop/java.awt.Component.processKeyEvent(Component.java:6603)
at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2899)
at java.desktop/java.awt.Component.processEvent(Component.java:6425)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5022)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1964)
at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:886)
at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1166)
at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1023)
at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:849)
at com.intellij.ide.IdeKeyboardFocusManager.lambda$dispatchEvent$0(IdeKeyboardFocusManager.java:48)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:604)
at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:48)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2802)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:754)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:752)
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:751)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:898)
at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.java:807)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:740)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:439)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:438)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
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:881)
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)
Please sign in to leave a comment.
Please download https://plugins.jetbrains.com/plugin/164-ideavim/versions/dev which contains the fix (1.11.0-dev.89 and higher or 1.11.0-eap.1).
You can install it via Install from Disk option in Preferences | Plugins under Gear Icon.
I hope it helps.
Hi and thanks for the fast response.
How do I find the Install from Disk option?
Click on the gear icon above IdeaVIM word.
I installed using the IdeaVIM-1.11.0-dev.124.jar file and now GoLand won't even start.
Please try to install EAP version instead: https://plugins.jetbrains.com/plugin/164-ideavim/versions/eap
Getting the same error
I cannot reproduce the same problem on my GoLand instance.
Please try to delete IdeaVim plugin and install it again to see if it helps.
Is it the right way to use IdeaVIM-1.11.0-eap.1.jar, or some other jar file?
You should select .zip file: IdeaVim-1.11.0-eap.1.zip to install that plugin completely.
I see why it was complaining for the missing class now.
My suggestion is that it would be nice if if the Install from Disk feature would make it explicit that it wants a zip file.
It launches successfully now. I'll let you know whether the annoying IDE error message no longer appears.