uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Logue <avlo...@shaw.ca>
Subject newbie question: can't get annotationViewer.sh working...
Date Thu, 05 Apr 2018 22:47:28 GMT
Hello,

I'd like to evaluate UIMA for an upcoming project but am having problems 
trying the examples with annotationViewer.sh.

It is throwing an error dialog: "java.lang.NumberFormatException: null" 
when I double click on any of the sample files in the Analyzed
Documents window (for example, New_IBM_Fellows.xml).

I'll paste the partial error message below but is there anywhere else 
for me to look and try to narrow down the problem on my system?

I'm using Arch Linux with Sun Java version "1.8.0_162".

I am able to build from source but am also having the same problem with 
the binary tarballs.  (2.10.2, 2.10.3, and 3.0.0)

[alogue@freedom bin]$ ./annotationViewer.sh
java.lang.NumberFormatException: null
     at java.lang.Integer.parseInt(Integer.java:542)
     at java.lang.Integer.parseInt(Integer.java:615)
     at 
org.apache.uima.cas.impl.XmiSerializationSharedData.addOutOfTypeSystemElement(XmiSerializationSharedData.java:202)
     at 
org.apache.uima.cas.impl.XmiCasDeserializer$XmiCasDeserializerHandler.addToOutOfTypeSystemData(XmiCasDeserializer.java:2015)
     at 
org.apache.uima.cas.impl.XmiCasDeserializer$XmiCasDeserializerHandler.readFS(XmiCasDeserializer.java:519)
     at 
org.apache.uima.cas.impl.XmiCasDeserializer$XmiCasDeserializerHandler.startElement(XmiCasDeserializer.java:435)
     at 
org.apache.uima.util.XmlCasDeserializer$XmlCasDeserializerHandler.startElement(XmlCasDeserializer.java:148)
     at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
     at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374)
     at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
     at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
     at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
     at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
     at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
     at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
<snip>

Regards,

Andrew.


Mime
View raw message