Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11486

NullPointerException for invalid payload with session handling enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.19.1
    • 2.19.2, 2.20.0
    • camel-cxf
    • None
    • Patch Available
    • Unknown

    Description

      If HTTP session handling is enabled for a CXF producer endpoint and an invalid payload is provided to the endpoint a NullPointerException is thrown instead of an Illegal state exception.

      This fix is just to add a null check to the inMessage of the CXF exchange. This will only affect the thrown exception not actual message processing.

      Attachments

        Activity

          People

            siano Stephan Siano
            siano Stephan Siano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: