cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6436) NPE in DefaultLogEventMapper when running on cameltransport
Date Wed, 03 Jun 2015 14:51:38 GMT
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)

Mime
View raw message