[arquillian-issues] [JBoss JIRA] (ARQ-2175) DeploymentExceptionHandler can sometimes pass null to transformers

Matej Novotny (JIRA) issues at jboss.org
Wed Feb 21 05:35:00 EST 2018


     [ https://issues.jboss.org/browse/ARQ-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Novotny updated ARQ-2175:
-------------------------------
    Git Pull Request: https://github.com/arquillian/arquillian-core/pull/164


> 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
>
> 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/container/impl-base/src/main/java/org/jboss/arquillian/container/impl/client/container/DeploymentExceptionHandler.java#L106-L108] 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).



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the arquillian-issues mailing list