]
Matous Jobanek updated ARQ-2175:
--------------------------------
Fix Version/s: 1.4.0.Final
DeploymentExceptionHandler can sometimes pass null to transformers
------------------------------------------------------------------
Key: ARQ-2175
URL:
https://issues.jboss.org/browse/ARQ-2175
Project: Arquillian
Issue Type: Bug
Components: core
Affects Versions: 1.3.0.Final
Reporter: Matej Novotny
Assignee: Matej Novotny
Fix For: 1.4.0.Final
In some rare cases {{DeploymentExceptionHandler}} can pass null value to transformers,
which isn't really useful.
This can happen when the exception is {{DeploymentException}} which has no cause (or has
itself set as cause). E.g. [this
code|https://github.com/arquillian/arquillian-core/blob/1.3.0.Final/conta...]
can yield {{null}}.
I came across this in combination with
[
wildfly-arquillian|https://github.com/wildfly/wildfly-arquillian] and certain Arq.
interceptor ordering (so that this exception handler was called first and the exception
wasn't wrapped yet).