camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Siano (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-11486) NullPointerException for invalid payload with session handling enabled
Date Fri, 30 Jun 2017 10:50:00 GMT
Stephan Siano created CAMEL-11486:
-------------------------------------

             Summary: NullPointerException for invalid payload with session handling enabled
                 Key: CAMEL-11486
                 URL: https://issues.apache.org/jira/browse/CAMEL-11486
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.19.1
            Reporter: Stephan Siano
            Priority: Trivial
             Fix For: 2.19.2, 2.20.0


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message