You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2007/12/19 17:48:43 UTC

[jira] Commented: (CXF-1315) NPE in WS-Addressing MAPAggregator

    [ https://issues.apache.org/jira/browse/CXF-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553400 ] 

Thomas Diesler commented on CXF-1315:
-------------------------------------

I believe this should read

        Collection<AssertionInfo> ais = aim.get(MetadataConstants.USING_ADDRESSING_2004_QNAME);
        if (null != ais && ais.size() > 0) {
            return true;
        }

Applies to the following two conditions as well

> NPE in WS-Addressing MAPAggregator
> ----------------------------------
>
>                 Key: CXF-1315
>                 URL: https://issues.apache.org/jira/browse/CXF-1315
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>
> Caused by: java.lang.NullPointerException
>         at org.apache.cxf.ws.addressing.MAPAggregator.hasUsingAddressingAssertion(MAPAggregator.java:235)
>         at org.apache.cxf.ws.addressing.MAPAggregator.usingAddressing(MAPAggregator.java:152)
>         at org.apache.cxf.ws.addressing.MAPAggregator.mediate(MAPAggregator.java:305)
>         at org.apache.cxf.ws.addressing.MAPAggregator.handleMessage(MAPAggregator.java:132)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205)
>         at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
>  Collection<AssertionInfo> ais = aim.get(MetadataConstants.USING_ADDRESSING_2004_QNAME);
>  if (null != ais || ais.size() > 0) {
>          return true;
>  }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.