[
https://issues.apache.org/jira/browse/CXF-7178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994839#comment-15994839
]
ASF GitHub Bot commented on CXF-7178:
-------------------------------------
GitHub user deki opened a pull request:
https://github.com/apache/cxf/pull/271
CXF-7178: RMPolicyInterceptorProvider not initialized properly
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/deki/cxf CXF-7178
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/271.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #271
----
commit a9c0a173a81e7e4a490de2bbb60baf596399087a
Author: Dennis Kieselhorst <[email protected]>
Date: 2017-05-03T13:21:45Z
CXF-7178: RMPolicyInterceptorProvider not initialized properly
----
> RMPolicyInterceptorProvider not initialized properly
> ----------------------------------------------------
>
> Key: CXF-7178
> URL: https://issues.apache.org/jira/browse/CXF-7178
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 3.1.4
> Reporter: Mattias Aspholm
>
> The RMPolicyInterceptorProvider never sets the bus for its
> RMCaptureInInterceptor instance (rmCaptureIn) in the constructor. (All other
> interceptors are initiated with the bus). The result is a
> NullPointerException in runtime when Reliable Messaging is enabled through
> Policy.
> Adding the following line in the constructor of RMPolicyInterceptorProvider
> does the trick:
> rmCaptureIn.setBus(bus);
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)