[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1348) CTS: IllegalArgumentException when passing a NULL JAXB object
Jason T. Greene (JIRA)
jira-events at jboss.com
Mon Nov 13 23:48:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBWS-1348?page=all ]
Jason T. Greene updated JBWS-1348:
----------------------------------
Summary: CTS: IllegalArgumentException when passing a NULL JAXB object (was: CTS: jaxws/api/jaxax_xml_ws/Dispatch/Client#invokeTestJAXBNull_from_wsappclient)
Environment: jaxws/api/jaxax_xml_ws/Dispatch/Client#invokeTestJAXBNull_from_wsappclient
> CTS: IllegalArgumentException when passing a NULL JAXB object
> -------------------------------------------------------------
>
> Key: JBWS-1348
> URL: http://jira.jboss.com/jira/browse/JBWS-1348
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jaxws
> Environment: jaxws/api/jaxax_xml_ws/Dispatch/Client#invokeTestJAXBNull_from_wsappclient
> Reporter: Jason T. Greene
> Fix For: jbossws-2.0.0.CR2
>
>
> According to the conformance requirements, we should be throwing a WebServiceExcpetion, and not IllegalArgumentException to the client.
> However the test appears to be expecting SOAPFaultException, so the test probably needs to be challenged
> STATUS:Failed.Test case throws exception: invokeTestJAXBNull failed
> 09:43:46,562 ERROR [DispatchImpl] Cannot dispatch message
> java.lang.IllegalArgumentException: obj parameter must not be null
> at javax.xml.bind.helpers.AbstractMarshallerImpl.checkNotNull(AbstractMarshallerImpl.java:398)
> at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:69)
> at org.jboss.ws.jaxws.client.DispatchImpl.getRequestMessage(DispatchImpl.java:241)
> at org.jboss.ws.jaxws.client.DispatchImpl.invokeInternal(DispatchImpl.java:116)
> at org.jboss.ws.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:105)
> at com.sun.ts.tests.jaxws.api.javax_xml_ws.Dispatch.Client.invokeTestJAXBNull(Client.java:741)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.sun.ts.lib.harness.EETest.run(EETest.java:495)
> at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:112)
> at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:30)
> at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102)
> at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:392)
> at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
> at com.sun.ts.lib.harness.EETest.run(EETest.java:204)
> at com.sun.ts.tests.common.vehicle.wsappclient.WSAppclient.main(WSAppclient.java:39)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.ejb3.client.ClientContainer.invokeMain(ClientContainer.java:277)
> at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:77)
> at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:174)
> at org.jboss.client.AppClientMain.main(AppClientMain.java:134)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list