Exception occurred during event dispatching:

gate.util.GateRuntimeException: Could not find the tree node for the TreeViewerTempAdded annotation set!

 at gate.gui.DocumentEditor$EventsHandler.annotationSetRemoved(DocumentEditor.ja
va:2748)

 at
gate.corpora.DocumentImpl.fireAnnotationSetRemoved(DocumentImpl.java:1513)

 at gate.corpora.DocumentImpl.removeAnnotationSet(DocumentImpl.java:1130)

 at gate.corpora.DatabaseDocumentImpl.removeAnnotationSet(DatabaseDocumentImpl.j
ava:1050)

 at gate.gui.STreeNode.transferAnnotations(STreeNode.java:201)

 at gate.gui.SyntaxTreeViewer.okAction(SyntaxTreeViewer.java:332)

 at gate.gui.DocumentEditor$NewAnnotationAction.actionPerformed(DocumentEditor.j
ava:3607)

 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)

 at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
n.java:1504)

 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:3
78)

 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)

 at javax.swing.AbstractButton.doClick(AbstractButton.java:279)

 at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
MenuItemUI.java:886)

 at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)

 at java.awt.Component.processMouseEvent(Component.java:3717)

 at java.awt.Component.processEvent(Component.java:3546)

 at java.awt.Container.processEvent(Container.java:1164)

 at java.awt.Component.dispatchEventImpl(Component.java:2595)

 at java.awt.Container.dispatchEventImpl(Container.java:1213)

 at java.awt.Component.dispatchEvent(Component.java:2499)

 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)

 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)

 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)

 at java.awt.Container.dispatchEventImpl(Container.java:1200)

 at java.awt.Window.dispatchEventImpl(Window.java:912)

 at java.awt.Component.dispatchEvent(Component.java:2499)

 at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)

 at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)

 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

 at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)