You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Timothy James Ward (Jira)" <ji...@apache.org> on 2021/07/21 12:51:00 UTC

[jira] [Created] (CXF-8565) Unable to use transport-http-petty-client with JAX-RS due to NPE

Timothy James Ward created CXF-8565:
---------------------------------------

             Summary: Unable to use transport-http-petty-client with JAX-RS due to NPE
                 Key: CXF-8565
                 URL: https://issues.apache.org/jira/browse/CXF-8565
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 3.4.4
            Reporter: Timothy James Ward


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)