Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7178

RMPolicyInterceptorProvider not initialized properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.1.12, 3.0.14
    • Component/s: WS-* Components
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                maspholm@gmail.com Mattias Aspholm
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: