Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
2.7.1, 2.7
-
None
-
None
Description
line 497 in TransformerIdentityImpl.transform() (v 1.37) should be changed from
throw new TransformerException(wre.getException());
to
throw new TransformerException(throwable);
There is a loop that finds the root exception, but that root is not used in the end:
catch (org.apache.xml.utils.WrappedRuntimeException wre)
{
Throwable throwable = wre.getException();
while (throwable instanceof org.apache.xml.utils.WrappedRuntimeException)
throw new TransformerException(wre.getException()); // line 497
}