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
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]