Dear Adam,

> Does any error message get printed to the console when this happens?
> I have seen a similar behavior due to a bug in the Annotation Viewer
> having to do with the new primitive types we introduced in v2.0 (byte,
> short, long, double, boolean).  Do the annotations that won't display
> have features of any of these types?  If so, this has been fixed in
> the Apache UIMA codebase and the fix will be out in v2.1, expected
> next month.

yes, I actually get an error message (see below).
Here, the feature "truncated" is actually a Boolean.

seems also to have to do with the primitive types. However, I don't know exactly what is the problem here...

Do you have an idea ?

bye,
Katrin



--- snip ---

Exception occurred during event dispatching:
CASRuntimeException: Trying to access value of feature "de.julielab.jules.types.Header:truncated" as feature structure, but is primitive type. at com.ibm.uima.cas.impl.FeatureStructureImpl.getFeatureValue(Unknown Source) at com.ibm.uima.reference_impl.viewer.CasAnnotationViewer.addFeatureTreeNodes(Unknown Source) at com.ibm.uima.reference_impl.viewer.CasAnnotationViewer.addAnnotationToTree(Unknown Source) at com.ibm.uima.reference_impl.viewer.CasAnnotationViewer.updateSelectedAnnotationTree(Unknown Source) at com.ibm.uima.reference_impl.viewer.CasAnnotationViewer.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:241)
        at java.awt.Component.processMouseEvent(Component.java:5199)
        at java.awt.Component.processEvent(Component.java:4993)
        at java.awt.Container.processEvent(Container.java:1607)
        at java.awt.Component.dispatchEventImpl(Component.java:3712)
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code)) at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code)) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled Code)) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3245) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3166) at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
        at java.awt.Window.dispatchEventImpl(Window.java:1653)
        at java.awt.Component.dispatchEvent(Component.java:3574)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:536)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:237) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:187) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:177)
        at java.awt.Dialog$1.run(Dialog.java:598)
        at java.awt.Dialog.show(Dialog.java:619)
        at java.awt.Component.show(Component.java:1176)
        at java.awt.Component.setVisible(Component.java:1131)
at com.ibm.uima.reference_impl.application.XCasAnnotationViewerMain.viewDocuments(Unknown Source) at com.ibm.uima.reference_impl.application.XCasAnnotationViewerMain$4.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1815) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1868) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:449) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:287) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:274)
        at java.awt.Component.processMouseEvent(Component.java:5196)
        at java.awt.Component.processEvent(Component.java:4993)
        at java.awt.Container.processEvent(Container.java:1607)
        at java.awt.Component.dispatchEventImpl(Component.java:3712)
        at java.awt.Container.dispatchEventImpl(Container.java:1665)
        at java.awt.Component.dispatchEvent(Component.java:3574)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3521) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3236) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3166)
        at java.awt.Container.dispatchEventImpl(Container.java:1651)
        at java.awt.Window.dispatchEventImpl(Window.java:1653)
        at java.awt.Component.dispatchEvent(Component.java:3574)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:536)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:237) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:187) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:181) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:136)


--- snap ---


Reply via email to