Passing null to an "object array" or "object list" parameter results in NPE
---------------------------------------------------------------------------
Key: CXF-1604
URL: https://issues.apache.org/jira/browse/CXF-1604
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 2.0.6, 2.1
Reporter: Daniel Kulp
Assignee: Daniel Kulp
Fix For: 2.1.1, 2.0.7
If a "null" is passed for a List<String> parameter when using unwrapped doc/lit
stuff and using wsdl2java generated wrapper types, a stack trace is dumped:
Caused by: java.lang.NullPointerException
at java.util.ArrayList.addAll(ArrayList.java:472)
at com.foo.blah.BlahArray_WrapperTypeHelper1.createWrapperObject(Unknown Source)
at
org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:102)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.