You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Michael K. (Created) (JIRA)" <ji...@apache.org> on 2011/10/07 12:10:29 UTC

[jira] [Created] (CXF-3849) JAXBElementProvider prints Exception on System.err

JAXBElementProvider prints Exception on System.err
--------------------------------------------------

                 Key: CXF-3849
                 URL: https://issues.apache.org/jira/browse/CXF-3849
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
    Affects Versions: 2.4.2
            Reporter: Michael K.
            Priority: Trivial


In org.apache.cxf.jaxrs.provider.JAXBElementProvider
line #167 (version 2.4.2)
line #171 (trunk rev 1166907)
{code:java|title=org.apache.cxf.jaxrs.provider.JAXBElementProvider}
...
} catch (Exception e) {
    e.printStackTrace();
    throw new WebApplicationException(e);        
}
...
{code}
should be without call to e.printStackTrace()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3849) JAXBElementProvider prints Exception on System.err

Posted by "Sergey Beryozkin (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-3849.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
                   2.4.4
                   2.3.8
         Assignee: Sergey Beryozkin

Logging it instead - as there was a concern earlier that it was difficult to trace the origin of exceptions. thanks 
                
> JAXBElementProvider prints Exception on System.err
> --------------------------------------------------
>
>                 Key: CXF-3849
>                 URL: https://issues.apache.org/jira/browse/CXF-3849
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 2.4.2
>            Reporter: Michael K.
>            Assignee: Sergey Beryozkin
>            Priority: Trivial
>             Fix For: 2.3.8, 2.4.4, 2.5
>
>
> In org.apache.cxf.jaxrs.provider.JAXBElementProvider
> line #167 (version 2.4.2)
> line #171 (trunk rev 1166907)
> {code:java|title=org.apache.cxf.jaxrs.provider.JAXBElementProvider}
> ...
> } catch (Exception e) {
>     e.printStackTrace();
>     throw new WebApplicationException(e);        
> }
> ...
> {code}
> should be without call to e.printStackTrace()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira