Gate 2 started at: Fri Jan 18 17:54:27 GMT+00:00 2002 Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Exception occurred during event dispatching: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler$NodeAdder.run(DocumentEditor.java:2922) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) gate.creole.ExecutionException at gate.creole.Transducer.execute(Transducer.java:93) at gate.creole.SerialController.runComponent(SerialController.java:145) at gate.creole.SerialController.execute(SerialController.java:111) at gate.creole.SerialAnalyserController.execute(SerialAnalyserController.java:55) at gate.gui.SerialControllerEditor$15.run(SerialControllerEditor.java:890) at java.lang.Thread.run(Thread.java:484) Caused by: gate.jape.JapeException: Error transducing document file:/C:/OB-OUTPUT/split/17191014.txt/17191014.txt--1.xml, phase Final Couldn't run RHS action: java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at gate.gui.DocumentEditor$EventsHandler.annotationRemoved(DocumentEditor.java:2822) at gate.annotation.AnnotationSetImpl.fireAnnotationRemoved(AnnotationSetImpl.java:1028) at gate.annotation.AnnotationSetImpl$VerboseHashMap.remove(AnnotationSetImpl.java:162) at gate.annotation.AnnotationSetImpl.removeFromIdIndex(AnnotationSetImpl.java:190) at gate.annotation.AnnotationSetImpl.remove(AnnotationSetImpl.java:180) at java.util.AbstractSet.removeAll(AbstractSet.java:134) at japeactionclasses.FinalYearOnlyFinalActionClass143.doit(FinalYearOnlyFinalActionClass143.java:22) at gate.jape.RightHandSide.transduce(RightHandSide.java:414) at gate.jape.SinglePhaseTransducer.transduce(SinglePhaseTransducer.java:457) at gate.jape.MultiPhaseTransducer.transduce(MultiPhaseTransducer.java:152) at gate.jape.Batch.transduce(Batch.java:348) at gate.creole.Transducer.execute(Transducer.java:85) at gate.creole.SerialController.runComponent(SerialController.java:145) at gate.creole.SerialController.execute(SerialController.java:111) at gate.creole.SerialAnalyserController.execute(SerialAnalyserController.java:55) at gate.gui.SerialControllerEditor$15.run(SerialControllerEditor.java:890) at java.lang.Thread.run(Thread.java:484) 1 // FinalYearOnlyFinalActionClass143 2 package japeactionclasses; 3 import java.io.*; 4 import java.util.*; 5 import gate.*; 6 import gate.jape.*; 7 import gate.annotation.*; 8 import gate.util.*; 9 10 public class FinalYearOnlyFinalActionClass143 11 implements java.io.Serializable, RhsAction { 12 public void doit(Document doc, AnnotationSet annotations, java.util.Map bindings) { 13 //removes TempDate annotation, gets the rule feature and adds a new Date annotation 14 gate.AnnotationSet date = (gate.AnnotationSet)bindings.get("date"); 15 gate.Annotation dateAnn = (gate.Annotation)date.iterator().next(); 16 gate.FeatureMap features = Factory.newFeatureMap(); 17 features.put("rule1", dateAnn.getFeatures().get("rule")); 18 features.put("rule2", "YearOnlyFinal"); 19 features.put("kind", "date"); 20 annotations.add(date.firstNode(), date.lastNode(), "Date", 21 features); 22 annotations.removeAll(date); 23 24 } 25 } at gate.jape.MultiPhaseTransducer.transduce(MultiPhaseTransducer.java:161) at gate.jape.Batch.transduce(Batch.java:348) at gate.creole.Transducer.execute(Transducer.java:85) at gate.creole.SerialController.runComponent(SerialController.java:145) at gate.creole.SerialController.execute(SerialController.java:111) at gate.creole.SerialAnalyserController.execute(SerialAnalyserController.java:55) at gate.gui.SerialControllerEditor$15.run(SerialControllerEditor.java:890) at java.lang.Thread.run(Thread.java:484)