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

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

     [ https://issues.apache.org/jira/browse/CXF-8565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Yue Fang reassigned CXF-8565:
-------------------------------------

    Assignee: Freeman Yue Fang

> 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
>            Assignee: Freeman Yue Fang
>            Priority: Major
>
> 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)