juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "subes (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Reopened] (JUDDI-965) DispositionReportFaultMessage is hiding exception messages
Date Sun, 11 Sep 2016 16:36:20 GMT

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

subes reopened JUDDI-965:
-------------------------

I just reviewed the code. The fix for the stacktrace is fine, but InvocationTargetException
will still get logged instead of the actual exception that is hidden inside invocationTargetException.getTargetException().
Please add code that unwraps InvocationTargetException.

> DispositionReportFaultMessage is hiding exception messages
> ----------------------------------------------------------
>
>                 Key: JUDDI-965
>                 URL: https://issues.apache.org/jira/browse/JUDDI-965
>             Project: jUDDI
>          Issue Type: Bug
>          Components: juddi-client
>    Affects Versions: 3.3.2
>            Reporter: subes
>            Assignee: Alex O'Ree
>             Fix For: 3.3.3
>
>
> I got the following Log message: 
>     Unsupported Exception: class java.lang.reflect.InvocationTargetException
> This is caused by line 112 in DispositionReportFaultMessage:
>     log.error("Unsupported Exception: " + e.getClass());
> Please change it so it outputs the exception stacktrace and unwrap InvocationTargetException.
I had to actually remote debug the application to get the actual error message...



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

Mime
View raw message