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

Unable to use transport-http-petty-client with JAX-RS due to NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.4
    • 3.5.0, 3.4.5, 3.3.13
    • Transports
    • None
    • Unknown

    Description

      When attempting to use the Netty transport in a JAX-RS client I encountered a NullPointerException from the CXF internals. This seems to be because CXF is trying to set a Content-Type for a GET request which has no body. As a result CXF passes null as the header value, which is not valid in the Netty Request.

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              timothyjward Timothy James Ward
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: