uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DigitalPebble <jul...@digitalpebble.com>
Subject Re: PEAR Installer exception
Date Tue, 23 Oct 2007 15:50:16 GMT
Marshall and Michael,

Thank you for your suggestions. The person who reported the problem to me
told me that it was due to the XML parser used by default in the jdk1.5.0_03.
This does not happen once it is replaced with a different implementation

Best,

Julien

 A search of the web shows others having problems like this, and they
seem often to be related to particular Java or Apache Xerces or Xalan
versions / levels.  You might try finding out what levels of these are
being used, and see if the problem goes away if you upgrade to more
recent levels.  If you do this, please post to let us know what you find
out.

-Marshall

DigitalPebble wrote:

Hi,

I get the following error message when I run the PEAR installer on my
PEAR package. I've attached the descriptor which triggers the exception.
I ran ./validateDescriptor.sh on it and it seems to be valid. The
PEARed resource works fine otherwise but getting an error message at
the install is quite confusing for the users.

Any idea of what the problem is?

Best,

Julien

-------------------------------------------------------------

PEAR Installer feedback:

Verification of com.digitalpebble.rasp4uima failed =>
 org.apache.uima.util.InvalidXMLException: Invalid descriptor at
file:/tmp/cr351/RASP4UIMA/com.digitalpebble.rasp4uima/desc/CombinedRASPDescriptor.xml.
       at
org.apache.uima.util.impl.XMLParser_impl.parse(XMLParser_impl.java:193)
       at
org.apache.uima.util.impl.XMLParser_impl.parseResourceManagerConfiguration
(
XMLParser_impl.java:760)
       at
org.apache.uima.util.impl.XMLParser_impl.parseResourceManagerConfiguration(
XMLParser_impl.java:748)
       at
org.apache.uima.pear.util.UIMAUtil.identifyUimaComponentCategory
(UIMAUtil.j
ava:242)
       at
org.apache.uima.pear.util.UIMAUtil.identifyUimaComponentCategory(UIMAUtil.j
ava:125)
       at org.apache.uima.pear.tools.InstallationTester.<init>
(InstallationTester.java :96)
       at
org.apache.uima.pear.tools.InstallationController.verifyComponentInstallati
on(InstallationController.java:1097)
       at
org.apache.uima.pear.tools.InstallationController.verifyComponent(Installat

ionController.java:1968)
       at
org.apache.uima.tools.pear.install.InstallPear.installPear(InstallPear.java
:388)
       at
org.apache.uima.tools.pear.install.InstallPear.access$000(InstallPear.java:
79)
       at
org.apache.uima.tools.pear.install.InstallPear$RunInstallation.run(InstallP
ear.java:108)
       at java.lang.Thread.run(Thread.java:595)
Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to
create or change an object in a way which is incorrect with regard to
namespaces.
       at
org.apache.xml.utils.DOMBuilder.startElement(DOMBuilder.java:348)
       at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement
(Transform
erIdentityImpl.java:1020)
       at
org.apache.uima.util.impl.SaxDeserializer_impl.startElement(SaxDeserializer
_impl.java:201)
       at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(A
bstractSAXParser.java:533)
       at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE
lement(XMLNSDocumentScannerImpl.java:330)
       at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentD

ispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
       at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Frag
mentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java :1794)
       at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
Document(XMLDocumentFragmentScannerImpl.java:368)
       at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Co
nfiguration.java:834)
       at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Co
nfiguration.java:764)
       at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:1
48)
       at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstract
SAXParser.java:1242)
       at
org.apache.uima.util.impl.XMLParser_impl.parse(XMLParser_impl.java:176)
       ... 11 more

-- 
http://www.digitalpebble.com
Open Source Solutions for Text Engineering

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message