You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Mattias Aspholm (JIRA)" <ji...@apache.org> on 2017/05/03 12:42:04 UTC

[jira] [Commented] (CXF-7178) RMPolicyInterceptorProvider not initialized properly

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

Mattias Aspholm commented on CXF-7178:
--------------------------------------

Almost half a year now since I reported this very serious bug, but still unassigned and uncommented.. It really baffles me why it doesn't get any attention, because it stops you from activating RM with Poilicy. Is no one using RM?

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