cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Resolved] (CXF-3719) NullPointerException When using TransformOutInterceptor
Date Wed, 10 Aug 2011 13:55:27 GMT


Sergey Beryozkin resolved CXF-3719.

    Resolution: Later
      Assignee: Sergey Beryozkin

Fixing it as Later - in case we can figure out how to chain two initialized writers.
Dan, if you have some ideas then please reopen

> NullPointerException When using TransformOutInterceptor
> -------------------------------------------------------
>                 Key: CXF-3719
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.4.1
>         Environment: Linux 2.6.29, java 1.6.0_16
>            Reporter: Christopher Marshall
>            Assignee: Sergey Beryozkin
> I have attempted to remove the namespace prefixes outbound JSON messages by using the
TransformOutInterceptor.  At line 87 it explicitly does
>     message.removeContent(OutputStream.class);
> and this eventually causes a NullPointerException in the constructor of
 The MessageImpl class has an array called defaultContents that would have otherwise had an
entry containing HTTPConduit$WrappedOutputStream that would have been passed through multiple
layer to the constructor of

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message