You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/10/11 14:33:41 UTC

[jira] [Assigned] (SMX4-1585) org.apache.servicemix.cxf.transport.nmr.NMRConduitOutputStream.commitOutputMessage() does not propagate exception.

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

Freeman Fang reassigned SMX4-1585:
----------------------------------

    Assignee: Freeman Fang

> org.apache.servicemix.cxf.transport.nmr.NMRConduitOutputStream.commitOutputMessage() does not propagate exception.
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-1585
>                 URL: https://issues.apache.org/jira/browse/SMX4-1585
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: cxf-nmr
>         Environment: CXF-NMR transport
>            Reporter: Torsten Mielke
>            Assignee: Freeman Fang
>              Labels: cxf-nmr
>         Attachments: SMX4-1585.patch
>
>
> There is a bug in 
> {code:title=org.apache.servicemix.cxf.transport.nmr.NMRConduitOutputStream.java }
> private void commitOutputMessage() throws IOException {
>     try {
>     ...
>     } catch (Exception e) {
>         e.printStackTrace();
>         new IOException(e.toString());
>     }
> {code}
> Notice it creates a new IOException but never throws it. As a result the error is ignored completely.



--
This message was sent by Atlassian JIRA
(v6.1#6144)