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

NPE in DefaultLogEventMapper when running on cameltransport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • None
    • JAX-WS Runtime
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: