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

频繁性的这个异常 #80

Open
HelloJavaWorld123 opened this issue Apr 8, 2019 · 8 comments
Open

频繁性的这个异常 #80

HelloJavaWorld123 opened this issue Apr 8, 2019 · 8 comments

Comments

@HelloJavaWorld123
Copy link

异常详细信息如下:
com.intellij.openapi.editor.impl.DocumentImpl$UnexpectedBulkUpdateStateException
at com.intellij.openapi.editor.impl.DocumentImpl.assertNotInBulkUpdate(DocumentImpl.java:1190)
at com.intellij.openapi.editor.impl.view.EditorView.assertNotInBulkMode(EditorView.java:635)
at com.intellij.openapi.editor.impl.view.EditorView.logicalToVisualPosition(EditorView.java:167)
at com.intellij.openapi.editor.impl.EditorImpl.logicalToVisualPosition(EditorImpl.java:2226)
at com.intellij.openapi.editor.impl.CaretImpl.updateCachedStateIfNeeded(CaretImpl.java:1490)
at com.intellij.openapi.editor.impl.CaretImpl.getLogicalPosition(CaretImpl.java:692)
at com.intellij.openapi.editor.impl.CaretImpl.getSelectionEndPosition(CaretImpl.java:1035)
at com.jiyuanime.listener.ActivatePowerDocumentListener.documentChanged(ActivatePowerDocumentListener.java:80)
at com.intellij.openapi.editor.impl.DocumentImpl.changedUpdate(DocumentImpl.java:891)
at com.intellij.openapi.editor.impl.DocumentImpl.updateText(DocumentImpl.java:796)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:661)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:608)
at com.intellij.codeInsight.template.impl.TemplateState.replaceString(TemplateState.java:883)
at com.intellij.codeInsight.template.impl.TemplateState.lambda$executeChanges$9(TemplateState.java:789)
at com.intellij.util.DocumentUtil.executeInBulk(DocumentUtil.java:54)
at com.intellij.codeInsight.template.impl.TemplateState.executeChanges(TemplateState.java:787)
at com.intellij.codeInsight.template.impl.TemplateState.initEmptyVariables(TemplateState.java:1167)
at com.intellij.codeInsight.template.impl.TemplateState.recalcSegment(TemplateState.java:864)
at com.intellij.codeInsight.template.impl.TemplateState.lambda$null$6(TemplateState.java:727)
at com.intellij.openapi.project.DumbService.withAlternativeResolveEnabled(DumbService.java:320)
at com.intellij.codeInsight.template.impl.TemplateState.lambda$calcResults$7(TemplateState.java:726)
at com.intellij.openapi.command.WriteCommandAction.lambda$runWriteCommandAction$5(WriteCommandAction.java:361)
at com.intellij.openapi.command.WriteCommandAction$BuilderImpl$1.run(WriteCommandAction.java:124)
at com.intellij.openapi.application.RunResult.run(RunResult.java:35)
at com.intellij.openapi.command.WriteCommandAction.lambda$null$1(WriteCommandAction.java:263)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1054)
at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$2(WriteCommandAction.java:262)
at com.intellij.openapi.command.WriteCommandAction.lambda$doExecuteCommand$4(WriteCommandAction.java:319)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:212)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:188)
at com.intellij.openapi.command.WriteCommandAction.doExecuteCommand(WriteCommandAction.java:321)
at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:262)
at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:244)
at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.run(WriteCommandAction.java:126)
at com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:361)
at com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:353)
at com.intellij.codeInsight.template.impl.TemplateState.calcResults(TemplateState.java:709)
at com.intellij.codeInsight.template.impl.TemplateState.lambda$processAllExpressions$1(TemplateState.java:425)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1054)
at com.intellij.codeInsight.template.impl.TemplateState.processAllExpressions(TemplateState.java:417)
at com.intellij.codeInsight.template.impl.TemplateState.start(TemplateState.java:388)
at com.intellij.codeInsight.template.impl.TemplateManagerImpl.lambda$startTemplate$2(TemplateManagerImpl.java:170)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:212)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:178)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:168)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:154)
at com.intellij.codeInsight.template.impl.TemplateManagerImpl.startTemplate(TemplateManagerImpl.java:174)
at com.intellij.codeInsight.template.impl.TemplateManagerImpl.startTemplate(TemplateManagerImpl.java:191)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageBaseFix.lambda$startTemplate$4(CreateFromUsageBaseFix.java:417)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:212)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:178)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:168)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:154)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageBaseFix.startTemplate(CreateFromUsageBaseFix.java:418)
at com.intellij.lang.java.actions.JavaMethodRenderer.startTemplate(CreateMethodAction.kt:141)
at com.intellij.lang.java.actions.JavaMethodRenderer.doMagic(CreateMethodAction.kt:80)
at com.intellij.lang.java.actions.CreateMethodAction.invoke(CreateMethodAction.kt:57)
at com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.invoke(IntentionActionWithTextCaching.java:179)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.lambda$invokeIntention$4(ShowIntentionActionsHandler.java:206)
at com.intellij.openapi.application.WriteAction.run(WriteAction.java:92)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.invokeIntention(ShowIntentionActionsHandler.java:208)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.lambda$null$2(ShowIntentionActionsHandler.java:183)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.lambda$chooseActionAndInvoke$3(ShowIntentionActionsHandler.java:182)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:220)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:178)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:168)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:154)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseActionAndInvoke(ShowIntentionActionsHandler.java:181)
at com.intellij.codeInsight.intention.impl.IntentionListStep.lambda$applyAction$0(IntentionListStep.java:103)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
at com.intellij.ui.popup.AbstractPopup.lambda$dispose$14(AbstractPopup.java:1425)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:3075)
at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:159)
at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:111)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:179)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:58)
at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1421)
at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:160)
at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:306)
at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:48)
at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:44)
at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:136)
at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:105)
at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:214)
at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:105)
at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:162)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:129)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:125)
at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:263)
at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:442)
at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:395)
at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:336)
at com.intellij.ui.popup.list.ListPopupImpl$1.actionPerformed(ListPopupImpl.java:249)
at com.intellij.ui.popup.WizardPopup.proceedKeyEvent(WizardPopup.java:378)
at com.intellij.ui.popup.WizardPopup.dispatch(WizardPopup.java:358)
at com.intellij.ui.popup.PopupDispatcher.dispatchKeyEvent(PopupDispatcher.java:114)
at com.intellij.ui.popup.PopupDispatcher.dispatch(PopupDispatcher.java:150)
at com.intellij.ide.IdePopupManager.dispatch(IdePopupManager.java:86)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:647)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

@HelloJavaWorld123
Copy link
Author

场景是:Alt+Enter 创建新的方法,页面挑战的时候,会出现这个异常

@jlfsdtc
Copy link

jlfsdtc commented Jul 22, 2019

i has this error too

@HelloJavaWorld123
Copy link
Author

i has this error too
后来我就放弃了,这个插件idea还不认,就直接卸载了

@Piean
Copy link

Piean commented Aug 6, 2019

这个问题存在很久了,一直没解决啊

@maples77
Copy link

maples77 commented Feb 7, 2020

me too~

@SinarPandora
Copy link

暂时修复了一下这个问题
#82

@HelloJavaWorld123
Copy link
Author

暂时修复了一下这个问题
#82

是有新版本发布吗?现在我是使用的还是有这个问题的

@SinarPandora
Copy link

暂时修复了一下这个问题
#82

是有新版本发布吗?现在我是使用的还是有这个问题的

@HelloJavaWorld123 你可以使用这个修复后的插件 https://plugins.jetbrains.com/plugin/14000-activate-power-mode-x 它会持续更新

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

5 participants