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 21:47:05 UTC

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

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


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

Posted by "Dan Murphy (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473384 ] 

Dan Murphy commented on TUSCANY-1105:
-------------------------------------

Hi Paul,
Thanks for the patch, I presume it was the test in TUSCANY-1100 that showed the failure (since running the exiting suite doesn't show this failure, although there are others).

Cheers,
Dan

> 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
>
>         Attachments: pom.xml.1105
>
>
> 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


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

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Golick updated TUSCANY-1105:
---------------------------------

    Attachment: pom.xml.1105

The attached file contains a patch to cts\sdo2.1-tuscany\pom.xml to add a dependency on the stax api (the same version used by SDO).  The patch is intended to be applied from the Tuscany\java directory.

> 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
>
>         Attachments: pom.xml.1105
>
>
> 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


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

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472860 ] 

Yang ZHONG commented on TUSCANY-1105:
-------------------------------------

Prior to Java 6,
stax-api is required to compile sdo impl, as illustrated in sdo/impl/pom.xml.
StAX impl such as wstx-asl, is required to run StAX support.

> 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


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

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Golick closed TUSCANY-1105.
--------------------------------


> 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-Next
>         Environment: Java 5
>            Reporter: Paul Golick
>             Fix For: Java-SDO-Next
>
>         Attachments: pom.xml.1105
>
>
> 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


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

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472388 ] 

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

After starting with an empty repository, after doing mvn builds of spec\sdo-api and sdo, the repository contains the following jars that include the constantPoolEntry javax/xml/stream/XMLStreamException:
org\apache\tuscany\sdo\tuscany-sdo-impl\1.0-incubator-SNAPSHOT\tuscany-sdo-impl-1.0-incubator-SNAPSHOT.jar
org\codehaus\woodstox\wstx-asl\3.2.0\wstx-asl-3.2.0.jar
stax\stax-api\1.0.1\stax-api-1.0.1.jar


> 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


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

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


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

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472917 ] 

Yang ZHONG commented on TUSCANY-1105:
-------------------------------------

StAX doesn't require Java 6. Both API and impl(s) are available to Java 1.4 users, as a separate distribution. Thanks to Jeremy for having explained more in the mailing list.

> 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


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

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474563 ] 

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

I have verified this issue is fixed in revision 509219.  Please close this issue.

> 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
>
>         Attachments: pom.xml.1105
>
>
> 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


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

Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoff Winn resolved TUSCANY-1105.
---------------------------------

    Resolution: Fixed

Patch applied.

> 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
>
>         Attachments: pom.xml.1105
>
>
> 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


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

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ 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


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

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472896 ] 

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

The SDO version 2.1 specification requires that Java 1.4.2 users are supported.  Adding something from Java 6 is not appropriate.

> 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