Skip to content

IntelliJ IDEA 2026.1 • Notes plugin com.ccnode.codegenerator.MyBatisCodeHelperPro 3.5.2+2321 #1107

@gezhiwei8899

Description

@gezhiwei8899
                    <!--https://github.com/gejun123456/MyBatisCodeHelper-Pro/issues/new paste current content to github issues-->

重现步骤(Repeat steps)

  • 最好提供gif动图(It's best to provide a GIF)
  • please describe what you were doing when this exception occurred

当前使用版本(Current Version)

IntelliJ IDEA 2026.1 • Notes plugin com.ccnode.codegenerator.MyBatisCodeHelperPro 3.5.2+2321

Exception

null

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); If you access or modify model on EDT consider wrapping your code in WriteIntentReadAction  or ReadAction; see https://jb.gg/ij-platform-threading for details
Current thread: Thread[#51,AWT-EventQueue-0,6,main] 902546901 (EventQueue.isDispatchThread()=true)
SystemEventQueueThread: (same)
	at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:270)
	at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:159)
	at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:549)
	at com.intellij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java:209)
	at com.intellij.openapi.fileEditor.impl.text.TextEditorPsiDataRuleKt.getPsiFile(TextEditorPsiDataRule.kt:198)
	at com.intellij.openapi.fileEditor.impl.text.TextEditorPsiDataRuleKt.access$getPsiFile(TextEditorPsiDataRule.kt:1)
	at com.intellij.openapi.fileEditor.impl.text.TextEditorPsiDataRule.uiDataSnapshot$lambda$1(TextEditorPsiDataRule.kt:61)
	at com.intellij.openapi.actionSystem.impl.MyLazy.getData(PreCachedDataContext.kt:636)
	at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderInner(DataManagerImpl.kt:195)
	at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderInner(DataManagerImpl.kt:188)
	at com.intellij.ide.impl.DataManagerImpl.getDataFromProviderInner(DataManagerImpl.kt:183)
	at com.intellij.ide.impl.DataManagerImpl.getDataRule$lambda$0(DataManagerImpl.kt:147)
	at com.intellij.ide.impl.DataManagerImpl.getDataFromRuleInner(DataManagerImpl.kt:99)
	at com.intellij.ide.impl.DataManagerImpl.getDataFromRules(DataManagerImpl.kt:71)
	at com.intellij.openapi.actionSystem.impl.PreCachedDataContext.getDataInner(PreCachedDataContext.kt:259)
	at com.intellij.openapi.actionSystem.impl.PreCachedDataContext$InjectedDataContext.getDataInner$lambda$0(PreCachedDataContext.kt:370)
	at com.intellij.openapi.actionSystem.InjectedDataKeys.getInjectedData(InjectedDataKeys.java:56)
	at com.intellij.openapi.actionSystem.impl.PreCachedDataContext$InjectedDataContext.getDataInner(PreCachedDataContext.kt:369)
	at com.intellij.openapi.actionSystem.impl.PreCachedDataContext.getData(PreCachedDataContext.kt:217)
	at com.intellij.openapi.actionSystem.DataContext.getData(DataContext.java:67)
	at com.ccnode.codegenerator.view.D$1.beforeActionPerformed(SourceFile:43)
	at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:831)
	at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:775)
	at com.intellij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:596)
	at com.intellij.util.messages.impl.ToDirectChildrenMessagePublisher.publish$intellij_platform_core(CompositeMessageBus.kt:193)
	at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:544)
	at jdk.proxy2/jdk.proxy2.$Proxy273.beforeActionPerformed(Unknown Source)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.fireBeforeActionPerformed(ActionManagerImpl.kt:1127)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.performWithActionCallbacks(ActionManagerImpl.kt:1193)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcherKt.doPerformActionInner(IdeKeyEventDispatcher.kt:863)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcherKt.access$doPerformActionInner(IdeKeyEventDispatcher.kt:1)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.kt:586)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.kt:542)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.kt:481)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.kt:474)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.kt:335)
	at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.kt:611)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:564)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0$0$0$0(IdeEventQueue.kt:381)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:928)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0$0$0(IdeEventQueue.kt:380)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$0(IdeEventQueue.kt:1110)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1110)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0(IdeEventQueue.kt:375)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:415)
	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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions