[forge-issues] [JBoss JIRA] (FORGE-1969) Exception wrapping hides information
Ondrej Zizka (JIRA)
issues at jboss.org
Sun Aug 3 18:58:29 EDT 2014
Ondrej Zizka created FORGE-1969:
-----------------------------------
Summary: Exception wrapping hides information
Key: FORGE-1969
URL: https://issues.jboss.org/browse/FORGE-1969
Project: Forge
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Ondrej Zizka
In Forge, exceptions are wrapped by Javassist to prevent CCEx when exceptions traverse the addon boundaries.
But this wrapping is done in a way that the details of the exception are not treated correctly - message usually disappears, and the underlying exceptions (Exception's cause, InvocationException's target, JAXB's linkedException, ...) are not reported in log, only being accessible through debugging.
One example:
Shown exception:
Actual exception:
javax.xml.bind.JAXBException
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory from [Module "_DEFAULT_:259a118d-0dc2-4d39-bce5-46b4de8d118b_84602e04-6399-449b-89b8-874e07e9bcf9" from AddonModuleLoader]]
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the forge-issues
mailing list