cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6058) NPE in cxf-rt-transports-http org.apache.cxf.transport.http.Headers line 280
Date Tue, 28 Oct 2014 18:30:35 GMT

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

Daniel Kulp resolved CXF-6058.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.7.14
                   3.0.3
         Assignee: Daniel Kulp

> NPE in cxf-rt-transports-http org.apache.cxf.transport.http.Headers line 280
> ----------------------------------------------------------------------------
>
>                 Key: CXF-6058
>                 URL: https://issues.apache.org/jira/browse/CXF-6058
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.0.2
>            Reporter: MichaƂ P
>            Assignee: Daniel Kulp
>             Fix For: 3.0.3, 2.7.14
>
>
> I'm using @BeanParam, got 2 fields with @HeaderParam, I'm setting only one off those
fields.
> After upgrade to 3.0.2 I'm getting NPE in Headers class
> {code:languge=java}
> void logProtocolHeaders(Level level) {
>         for (String header : headers.keySet()) {
>             List<?> headerList = headers.get(header);
>             for (Object value : headerList) {
>                 // value is null
>                 LOG.log(level, header + ": " + value.toString());
>             }
>         }
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message