NPE in AbstractJAXWSMethodInvoker
---------------------------------
Key: CXF-2122
URL: https://issues.apache.org/jira/browse/CXF-2122
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 2.1.4, 2.2
Reporter: Richard Opalka
Fix For: 2.1.5, 2.2.1
This issue was reported by our JBossWS-CXF integation user, see
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219792#4219792
To fix the issue, apply the same proposed fix from that user, i.e.:
< if (sm != null) {
< Iterator<?> iter = list.iterator();
< while (iter.hasNext())
< {
< sm.getHeaders().add((Header) iter.next());
< }
---
> Iterator<?> iter = list.iterator();
> while (iter.hasNext())
> {
> sm.getHeaders().add((Header) iter.next());
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.