[
https://issues.apache.org/jira/browse/CXF-8565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Yue Fang resolved CXF-8565.
-----------------------------------
Fix Version/s: 3.5.0
3.4.5
Resolution: Fixed
Patch applied on behalf of [~timothyjward] with thanks!
> 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
>
>
> 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)