You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/05/22 17:31:55 UTC
[jira] Created: (CXF-1604) Passing null to an "object array" or
"object list" parameter results in NPE
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.
[jira] Resolved: (CXF-1604) Passing null to an "object array" or
"object list" parameter results in NPE
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1604.
------------------------------
Resolution: Fixed
> 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.1, 2.0.6
> 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.