Hi,

This is good news. Are you willing to donate the sample to Apache?

Thanks,
Raymond

----- Original Message ----- From: "Li Shen (JIRA)" <[email protected]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 20, 2006 2:46 AM
Subject: [jira] Commented: (TUSCANY-874) NPE occurs on binding.ws when JAXB data type gets involved in service


[ http://issues.apache.org/jira/browse/TUSCANY-874?page=comments#action_12443768 ]

Li Shen commented on TUSCANY-874:
---------------------------------

Now both XMLBeans and JAXB work well for me.

For the time being I may add this item to the webapp's pom.xml to prevent jsr173.jar from being copied to web-inf/lib

<dependency>
     <groupId>javax.xml.bind</groupId>
     <artifactId>jsr173_api</artifactId>
     <version>1.0</version>
      <scope>provided</scope>
   </dependency>

Also, the latest snapshot of JAXB RI seems not to get dependent on jsr173.

Thank you very much!



NPE occurs on binding.ws when JAXB data type gets involved in service
---------------------------------------------------------------------

                Key: TUSCANY-874
                URL: http://issues.apache.org/jira/browse/TUSCANY-874
            Project: Tuscany
         Issue Type: Bug
         Components: Java SCA Core
   Affects Versions: Java-M2
           Reporter: Li Shen
        Assigned To: Raymond Feng
        Attachments: helloworldws.zip


Caused by: java.lang.NullPointerException
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:570)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at org.apache.tuscany.databinding.jaxb.JAXBContextHelper.createJAXBContext(JAXBContextHelper.java:55) at org.apache.tuscany.databinding.jaxb.JAXB2Node.transform(JAXB2Node.java:45) Enclosed web app is modified from the axis2 helloworldws sample and it could be used to reproduce this error:
1) "mvn package" and deploy the generated war to tomcat
2) visit http://localhost:8080/sample-helloworldws/helloworld.jsp to check for error

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to