You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2016/07/27 01:56:20 UTC
[jira] [Created] (CXF-6980) NPE when install cxf-http-async feature
Freeman Fang created CXF-6980:
---------------------------------
Summary: NPE when install cxf-http-async feature
Key: CXF-6980
URL: https://issues.apache.org/jira/browse/CXF-6980
Project: CXF
Issue Type: Bug
Reporter: Freeman Fang
exception like
{code}
Unexpected problem updating configuration org.apache.cxf.transport.http.async
java.lang.NullPointerException
at org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduitFactory.addListener(AsyncHTTPConduitFactory.java:288)[298:org.apache.cxf.cxf-rt-transports-http-hc]
at org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduitFactory.<init>(AsyncHTTPConduitFactory.java:146)[298:org.apache.cxf.cxf-rt-transports-http-hc
at org.apache.cxf.transport.http.asyncclient.Activator$ConduitConfigurer.updated(Activator.java:79)[298:org.apache.cxf.cxf-rt-transports-http-hc]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[7:org.apache.felix.configadmin:1.8.4]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[7:org.apache.felix.configadmin:1.8.4]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[7:org.apache.felix.configadmin:1.8.4]
{code}
This is caused by if we install cxf-http-async feature without an aync cxf client endpoint, there's no CXF bus when init the AsyncHTTPConduitFactory, we need handle this case correctly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)