You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stephan Siano (Jira)" <ji...@apache.org> on 2019/10/11 12:55:00 UTC

[jira] [Updated] (CAMEL-14058) NullPointerException for failed One-Way requests with HTTP session handling

     [ https://issues.apache.org/jira/browse/CAMEL-14058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Siano updated CAMEL-14058:
----------------------------------
    Fix Version/s: 2.25.0
                   3.0.0
                   2.24.3

> NullPointerException for failed One-Way requests with HTTP session handling
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-14058
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14058
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.24.2
>            Reporter: Stephan Siano
>            Assignee: Stephan Siano
>            Priority: Trivial
>             Fix For: 2.24.3, 3.0.0, 2.25.0
>
>
> In some cases there is no inMessage in the cxf exchange in case of an error. If HTTP session handling is enabled (cookies), this will result in a NullPointerException.
> The fix for this is rather trivial; a null check has to be done before accessing the inMessage.
> This usually happens for one-way messages where HTTP session handling does not make much sense (because without a response there are no cookies), but nevertheless there should be no NullPointerException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)