uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Goetz <twgo...@gmx.de>
Subject Re: invalid descriptor
Date Wed, 16 Jul 2008 11:21:14 GMT
Why are you running this very old version of UIMA?

lai fook wrote:
> Hi,
> When I run my program from a .bat file, I get this error when the code reach this line
of code:
> 
> ResourceSpecifier specifier = UIMAFramework.getXMLParser().parseResourceSpecifier(in);
> 
> But the program is running fine when i run in eclipse.
> Can anyone Help me on this.
> Thanks!
> Regards,
> Lai
> 
> <hr />
> com.ibm.uima.util.InvalidXMLException: Invalid descriptor at file:/C:/Documents
> and Settings/user/Desktop/New Folder/BCMS/SimpleTokenAndSentenceAnnotator.xml.
> at com.ibm.uima.reference_impl.util.XMLParser_impl.parse(Unknown Source)
> 
> at com.ibm.uima.reference_impl.util.XMLParser_impl.parseResourceSpecifie
> r(Unknown Source)
> at com.ibm.uima.reference_impl.util.XMLParser_impl.parseResourceSpecifie
> r(Unknown Source)
> at AnalyserInternalFrame.wordSplitter(AnalyserInternalFrame.java:793)
> at CorpusAnalyser.wordListWithoutNo(CorpusAnalyser.java:1116)
> at CorpusAnalyser$8.actionPerformed(CorpusAnalyser.java:407)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.AbstractButton.doClick(Unknown Source)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: com.ibm.uima.UIMARuntimeException
> at com.ibm.uima.reference_impl.util.XIncluder.getXIncludeTemplates(Unkno
> wn Source)
> at com.ibm.uima.reference_impl.util.XIncluder.newXIncludeHandler(Unknown
> Source)
> at com.ibm.uima.reference_impl.util.XIncluder.newXIncludeHandler(Unknown
> Source)
> at com.ibm.uima.reference_impl.util.SaxDeserializer_impl.<init>(Unknown
> Source)
> ... 33 more
> Caused by: javax.xml.transform.TransformerException: The first argument to the n
> on-static Java function 'evaluate' is not a valid object reference.
> at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesHandlerImpl.end
> Document(Unknown Source)
> at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230)
> at org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLV
> alidator.java:1146)
> at org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.d
> ispatch(XMLDocumentScanner.java:1499)
> at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java:381)
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
> ... 37 more
> 
> 
>       

Mime
View raw message