XPathView: Assertion failed: Write access is allowed inside write-action only

Hi,

I had been editing a Java file (not even an XML file), when I noticed
that this error had occurred.

Assertion failed: Write access is allowed inside write-action only (see
com.intellij.openapi.application.Application.runWriteAction())
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.beforeChildrenChange(PsiManagerImpl.java:227)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:23)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:118)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:148)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:402)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:72)
at
com.intellij.psi.impl.RepositoryElementsManager.repositoryIdInvalidated(RepositoryElementsManager.java:37)
at
com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.b(RepositoryManagerImpl.java:47)
at
com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.h(RepositoryManagerImpl.java:478)
at
com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.beforeChildAddedOrRemoved(RepositoryManagerImpl.java:419)
at
com.intellij.psi.impl.source.tree.ChangeUtil$5.runInner(ChangeUtil.java:8)
at com.intellij.pom.impl.PomTransactionBase.run(PomTransactionBase.java:26)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:87)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:402)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at
com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache.b(RepositoryCache.java:153)
at
com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache.access$1300(RepositoryCache.java:304)
at
com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache$6.run(RepositoryCache.java:9)
at
com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache.a(RepositoryCache.java:131)
at
com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache.fileDeleted(RepositoryCache.java:348)
at
com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.b(RepositoryManagerImpl.java:206)
at
com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.h(RepositoryManagerImpl.java:478)
at
com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.beforeChildAddedOrRemoved(RepositoryManagerImpl.java:419)
at
com.intellij.psi.impl.source.tree.ChangeUtil$5.runInner(ChangeUtil.java:8)
at com.intellij.pom.impl.PomTransactionBase.run(PomTransactionBase.java:26)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:87)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:402)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.childReplaced(PsiManagerImpl.java:331)
at
com.intellij.pom.wrappers.PsiEventWrapperAspect.update(PsiEventWrapperAspect.java:60)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:113)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:402)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:171)
at
com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:201)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:75)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.access$000(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer$5.syncDocument(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:145)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.commitTransaction(PsiToDocumentSynchronizer.java:23)
at com.intellij.pom.core.impl.PomModelImpl.a(PomModelImpl.java:40)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:37)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:402)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.beforeChildrenChange(PsiManagerImpl.java:227)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:23)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:118)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:148)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.adjustTextRange(FormatterImpl.java:25)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.a(CodeEditUtil.java:59)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:18)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.childReplaced(PsiManagerImpl.java:331)
at
com.intellij.pom.wrappers.PsiEventWrapperAspect.update(PsiEventWrapperAspect.java:60)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:113)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.adjustTextRange(FormatterImpl.java:25)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.a(CodeEditUtil.java:59)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:18)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:171)
at
com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:201)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:75)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.access$000(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer$5.syncDocument(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:145)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.commitTransaction(PsiToDocumentSynchronizer.java:23)
at com.intellij.pom.core.impl.PomModelImpl.a(PomModelImpl.java:40)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:37)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.adjustTextRange(FormatterImpl.java:25)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.a(CodeEditUtil.java:59)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:18)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.beforeChildrenChange(PsiManagerImpl.java:227)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:23)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:118)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:148)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.adjustTextRange(FormatterImpl.java:25)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.a(CodeEditUtil.java:59)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:18)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.childReplaced(PsiManagerImpl.java:331)
at
com.intellij.pom.wrappers.PsiEventWrapperAspect.update(PsiEventWrapperAspect.java:60)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:113)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.adjustTextRange(FormatterImpl.java:25)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.a(CodeEditUtil.java:59)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:18)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:171)
at
com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:201)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:75)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.access$000(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer$5.syncDocument(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:145)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.commitTransaction(PsiToDocumentSynchronizer.java:23)
at com.intellij.pom.core.impl.PomModelImpl.a(PomModelImpl.java:40)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:37)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.adjustTextRange(FormatterImpl.java:25)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.a(CodeEditUtil.java:59)
at
com.intellij.psi.impl.source.codeStyle.CodeEditUtil.replaceChild(CodeEditUtil.java:18)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChildInternal(CompositeElement.java:188)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.replace(CompositePsiElement.java:77)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:53)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.beforeChildrenChange(PsiManagerImpl.java:227)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:23)
at com.intellij.pom.core.impl.PomModelImpl.b(PomModelImpl.java:118)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:148)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.format(FormatterImpl.java:122)
at
com.intellij.psi.impl.source.codeStyle.CodeFormatterFacade.processRange(CodeFormatterFacade.java:118)
at
com.intellij.psi.impl.source.codeStyle.CodeFormatterFacade.process(CodeFormatterFacade.java:100)
at
com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl.reformat(CodeStyleManagerImpl.java:59)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:218)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at com.intellij.psi.impl.PsiManagerImpl.a(PsiManagerImpl.java:35)
at
com.intellij.psi.impl.PsiManagerImpl.childReplaced(PsiManagerImpl.java:331)
at
com.intellij.pom.wrappers.PsiEventWrapperAspect.update(PsiEventWrapperAspect.java:60)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:113)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.format(FormatterImpl.java:122)
at
com.intellij.psi.impl.source.codeStyle.CodeFormatterFacade.processRange(CodeFormatterFacade.java:118)
at
com.intellij.psi.impl.source.codeStyle.CodeFormatterFacade.process(CodeFormatterFacade.java:100)
at
com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl.reformat(CodeStyleManagerImpl.java:59)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:218)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertWriteAccessAllowed(ApplicationImpl.java:416)
at
com.intellij.openapi.editor.impl.DocumentImpl.deleteString(DocumentImpl.java:111)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:106)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.access$000(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer$5.syncDocument(PsiToDocumentSynchronizer.java)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.a(PsiToDocumentSynchronizer.java:145)
at
com.intellij.psi.impl.PsiToDocumentSynchronizer.commitTransaction(PsiToDocumentSynchronizer.java:23)
at com.intellij.pom.core.impl.PomModelImpl.a(PomModelImpl.java:40)
at
com.intellij.pom.core.impl.PomModelImpl.runTransaction(PomModelImpl.java:37)
at com.intellij.psi.impl.source.tree.ChangeUtil.a(ChangeUtil.java:320)
at
com.intellij.psi.impl.source.tree.ChangeUtil.replaceChild(ChangeUtil.java:153)
at
com.intellij.psi.impl.source.tree.CompositeElement.replaceChild(CompositeElement.java:106)
at
com.intellij.codeFormatting.general.FormatterUtil.replaceWhiteSpace(FormatterUtil.java:95)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.changeWhiteSpaceBeforeLeaf(PsiBasedFormattingModel.java:30)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.a(PsiBasedFormattingModel.java:50)
at
com.intellij.psi.formatter.PsiBasedFormattingModel.replaceWhiteSpace(PsiBasedFormattingModel.java:12)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.performModifications(FormatProcessor.java:100)
at
com.intellij.newCodeFormatting.impl.FormatProcessor.format(FormatProcessor.java:109)
at
com.intellij.newCodeFormatting.impl.FormatterImpl.format(FormatterImpl.java:122)
at
com.intellij.psi.impl.source.codeStyle.CodeFormatterFacade.processRange(CodeFormatterFacade.java:118)
at
com.intellij.psi.impl.source.codeStyle.CodeFormatterFacade.process(CodeFormatterFacade.java:100)
at
com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl.reformat(CodeStyleManagerImpl.java:59)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.setupMethodBody(CreateFromUsageUtils.java:218)
at
com.intellij.codeInsight.daemon.impl.quickfix.CreateConstructorFromCallAction$1.templateFinished(CreateConstructorFromCallAction.java:9)
at
com.intellij.codeInsight.template.impl.TemplateState.l(TemplateState.java:267)
at
com.intellij.codeInsight.template.impl.TemplateState.h(TemplateState.java:438)
at
com.intellij.codeInsight.template.impl.TemplateState.gotoEnd(TemplateState.java:418)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$EscapeHandler.execute(TemplateManagerActions.java:1)
at
com.intellij.codeInsight.highlighting.HighlightManagerActions$EscapeHandler.execute(HighlightManagerActions.java:2)
at
com.intellij.codeInsight.hint.HintManager$EscapeHandler.execute(HintManager.java:4)
at
org.intellij.plugins.xpathView.XPathAppComponent$EscapeHandler.execute(XPathAppComponent.java:197)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:16)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:82)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:4)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:93)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

2 comments
Comment actions Permalink

Hi Gordon,

this is with 99% certainty not the plugin's fault, even if IDEA thinks it is. That's the
drawback of hooking into standard actions - ]]> in this case - because a plugin's code
will then appear in a stacktrace even if the error is somewhere else :(

To make sure it's not a problem with passing on the event, do you know how this happened? Seems like you pressed ]]> while creating a constructor by intention, but I
can't reproduce it. What IDEA build/plugin version do you use?

Sascha

0
Comment actions Permalink

Sascha Weinreuter wrote:

To make sure it's not a problem with passing on the <esc> event, do you
know how this happened? Seems like you pressed <esc> while creating a
constructor by intention, but I can't reproduce it. What IDEA
build/plugin version do you use?


I'm using IDEA #3354 and XPathView 0.6. As for how it happened... I
don't have the popup setting turned on for fatal errors and sometimes I
don't notice the error icon for a few minutes. As you said, I was
probably creating a constructor by intention -- I use that technique
quite a bit when writing new code.

Sorry I can't give you any more information. I've got a hectic schedule
and I couldn't spend much time digging around to find out exactly what
happened :P

If it happens again, I'll see if I can gather more information for you.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

0

Please sign in to leave a comment.