cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6980) NPE when install cxf-http-async feature
Date Wed, 27 Jul 2016 02:10:20 GMT

     [ https://issues.apache.org/jira/browse/CXF-6980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved CXF-6980.
-------------------------------
    Resolution: Duplicate

> 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
>            Assignee: 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)

Mime
View raw message