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

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

The CTS is able to run when I compile and run it under Java 6.
(Although I had to modify SniffTest.java to omit tests of 
XSDSerializationTest.class, DataObjectTest.class, TypeConversionTest.class)
As I noted previously, it fails attempting to load a class that is not present 
in versions of Java prior to Java 6.

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to