You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David J. M. Karlsen (JIRA)" <ji...@apache.org> on 2015/06/03 16:51:38 UTC

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

David J. M. Karlsen created CXF-6436:
----------------------------------------

             Summary: 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


         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)