AntXMLGenerator exception

I tried to run the plugin for a project that contained a single web
module and got an exception.

Error message: 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.i.a.c.assertWriteAccessAllowed(c.java:91)
at com.intellij.openapi.e.a.b.c.refreshAndFindFileByPath(c.java:57)
at com.intellij.openapi.e.a.b.c.refreshAndFindFileByIoFile(c.java:191)
at
com.d1k.intellij.plugin.generateant.GenerateAntAction.actionPerformed(GenerateAntAction.java:116)
at com.intellij.openapi.m.b.j.a(j.java:67)
at com.intellij.openapi.m.b.j.processMouseEvent(j.java:62)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.s.b(s.java:70)
at com.intellij.ide.s.a(s.java:149)
at com.intellij.ide.s.dispatchEvent(s.java:19)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

--
Norris Shelton
Sun Certified Java Programmer

Please sign in to leave a comment.