You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2015/06/09 13:13:00 UTC

[jira] [Resolved] (CXF-6436) NPE in DefaultLogEventMapper when running on cameltransport

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

Christian Schneider resolved CXF-6436.
--------------------------------------
    Resolution: Fixed

Just committed a fix and tests

> NPE in DefaultLogEventMapper when running on cameltransport
> -----------------------------------------------------------
>
>                 Key: CXF-6436
>                 URL: https://issues.apache.org/jira/browse/CXF-6436
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.1.0
>            Reporter: David J. M. Karlsen
>            Assignee: Christian Schneider
>
>          if (message.containsKey(Message.HTTP_REQUEST_METHOD)) {
>             String httpMethod = message.get(Message.HTTP_REQUEST_METHOD).toString()
> and              if (message.containsKey(Message.REQUEST_URI)) {
>                 String requestUri = message.get(Message.REQUEST_URI).toString();
> can hit nullpointers when running the cxf bus with a cameltransport (which again uses JMS as the underlying real transport) - as it does not run over http - the check needs to be improved to cater for the value possibly being null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)