Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6436

NPE in DefaultLogEventMapper when running on cameltransport

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: JAX-WS Runtime
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              cschneider Christian Schneider
              Reporter:
              davidkarlsen@gmail.com David J. M. Karlsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: