com.intellij.util.IncorrectOperationException: Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via YouTrack by Unknown author, 1 year ago
Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
via GitHub by happylynx
, 1 year ago
Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
via GitHub by lshdan
, 2 years ago
Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
via YouTrack by Unknown author, 1 year ago
Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
via GitHub by Schrank
, 2 years ago
Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
via YouTrack by Unknown author, 1 year ago
Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
com.intellij.util.IncorrectOperationException: Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
at com.intellij.openapi.editor.impl.DocumentImpl.e(DocumentImpl.java:763)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:739)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:713)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:590)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:537)
at com.intellij.codeInsight.template.emmet.generators.XmlZenCodingGeneratorImpl.a(XmlZenCodingGeneratorImpl.java:135)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:913)
at com.intellij.codeInsight.template.emmet.generators.XmlZenCodingGeneratorImpl.b(XmlZenCodingGeneratorImpl.java:134)
at com.intellij.codeInsight.template.emmet.generators.XmlZenCodingGeneratorImpl.toString(XmlZenCodingGeneratorImpl.java:61)
at com.intellij.codeInsight.template.emmet.generators.XmlZenCodingGenerator.a(XmlZenCodingGenerator.java:71)
at com.intellij.codeInsight.template.emmet.generators.XmlZenCodingGenerator.generateTemplate(XmlZenCodingGenerator.java:46)
at com.intellij.codeInsight.template.emmet.nodes.GenerationNode.a(GenerationNode.java:320)
at com.intellij.codeInsight.template.emmet.nodes.GenerationNode.generate(GenerationNode.java:199)
at com.intellij.codeInsight.template.emmet.nodes.GenerationNode.generate(GenerationNode.java:231)
at com.intellij.codeInsight.template.emmet.ZenCodingTemplate.a(ZenCodingTemplate.java:235)
at com.intellij.codeInsight.template.emmet.ZenCodingTemplate.expand(ZenCodingTemplate.java:206)
at com.intellij.codeInsight.template.emmet.EmmetPreviewUtil.calculateTemplateText(EmmetPreviewUtil.java:59)
at com.intellij.codeInsight.template.emmet.EmmetPreviewUtil$TemplateTextProducer.produce(EmmetPreviewUtil.java:131)
at com.intellij.codeInsight.template.emmet.EmmetPreviewUtil$TemplateTextProducer.produce(EmmetPreviewUtil.java:117)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:387)
at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:306)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:334)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.h(IdeEventQueue.java:836)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:672)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.