You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2021/11/10 14:13:00 UTC

[jira] [Updated] (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 ]

Andriy Redko updated CXF-8565:
------------------------------
    Fix Version/s: 3.3.13

> 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
>             Fix For: 3.4.5, 3.5.0, 3.3.13
>
>
> 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.20.1#820001)