Assertion failed when removing listener from Document
I'm hoping a JetBrainer can decipher this stacktrace and tell me what's
going wrong here:
2004-06-03 16:58:24,290 ERROR -
enapi.editor.impl.DocumentImpl - Assertion failed
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - IntelliJ IDEA 4.0 Build #1179
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - JDK: 1.4.2_03
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - VM: Java HotSpot(TM) Client VM
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - Vendor: Sun Microsystems Inc.
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - OS: Windows 2000
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - Last Action: ShowIntentionActions
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - Current Command: Create resources for
log token 'IntegrationManager.askdfhaklsdf'
2004-06-03 16:58:24,300 ERROR -
enapi.editor.impl.DocumentImpl - Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:69)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:28)
at com.intellij.openapi.editor.c.k.removeDocumentListener(k.java:138)
at
com.quest.ideaplugins.i18nplugin.model.LogResourceBundle$UpdateBundleFile.run(LogResourceBundle.java:591)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:299)
at
com.quest.ideaplugins.i18nplugin.model.LogResourceBundle.updateBundleFile(LogResourceBundle.java:372)
at
com.quest.ideaplugins.i18nplugin.model.LogResourceBundle.setResource(LogResourceBundle.java:274)
at
com.quest.ideaplugins.i18nplugin.inspections.ResourcesForLogTokenDoNotExistInspection$1.run(ResourcesForLogTokenDoNotExistInspection.java:128)
at com.intellij.openapi.command.impl.a.executeCommand(a.java:108)
at com.quest.ideaplugins.Utils.executeCommand(Utils.java:95)
at
com.quest.ideaplugins.i18nplugin.inspections.ResourcesForLogTokenDoNotExistInspection$CreateResourcesForLogTokenFix.applyFix(ResourcesForLogTokenDoNotExistInspection.java:136)
at com.intellij.codeInspection.k.n.invoke(n.java:7)
at com.intellij.codeInsight.intention.a.u$8.run(u$8.java:4)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:299)
at com.intellij.codeInsight.intention.a.u$11.run(u$11.java:1)
at com.intellij.openapi.command.impl.a.executeCommand(a.java:94)
at com.intellij.codeInsight.intention.a.u$0.run(u$0.java:6)
at
com.intellij.openapi.application.LaterInvocator$FlushQueue.run(LaterInvocator.java:18)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.q.b(q.java:36)
at com.intellij.ide.q.a(q.java:136)
at com.intellij.ide.q.dispatchEvent(q.java:48)
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)
Thanks,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Please sign in to leave a comment.
I believe it means that the listener you are trying to remove wan't ever added or you are trying to remove it twice. I've seen this with my own plugin.
Rick