You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Paul Golick (JIRA)" <tu...@ws.apache.org> on 2007/02/09 22:09:05 UTC

[jira] Commented: (TUSCANY-1105) CTS throws NoClassDefFound errors for javax.xml.stream.XMLStreamException while reading XML stream

    [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471819 ] 

Paul Golick commented on TUSCANY-1105:
--------------------------------------

The javax.xml.stream.XMLStreamException class was added in Java 6.
The error is occurring while org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl is creating an instance that is a subclass of org.eclipse.emf.ecore.xmi.impl.SAXXMLHandler that comes from ecore-xmi.

> CTS throws NoClassDefFound errors for javax.xml.stream.XMLStreamException while reading XML stream
> --------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1105
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1105
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Community Test Suite
>    Affects Versions: Java-SDO-Mx
>         Environment: Java 5
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Mx
>
>
> while adding a test that runs in the SDO impl test directory to the CTS, the surefire-reports for SniffTest includes the following:
>     <error type="java.lang.NoClassDefFoundError" message="javax.xml.stream.XMLStreamException">java.lang.NoClassDefFoundError: javax.xml.stream.XMLStreamException
> 	at java.lang.J9VMInternals.verifyImpl(Native Method)
> 	at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
> 	at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
> 	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.makeDefaultHandler(SDOXMLResourceImpl.java:299)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.createDefaultHandler(XMLLoadImpl.java:305)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLParserPoolImpl.getDefaultHandler(XMLParserPoolImpl.java:186)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:230)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:666)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.load(XMLResourceImpl.java:634)
> 	at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(XMLDocumentImpl.java:238)
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org