[arquillian-issues] [JBoss JIRA] Resolved: (ARQ-164) NPE in DeployableTestBuilder

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Wed Feb 2 17:29:39 EST 2011


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

Aslak Knutsen resolved ARQ-164.
-------------------------------

    Resolution: Done


https://github.com/aslakknutsen/arquillian/tree/the_bigger_picture

> NPE in DeployableTestBuilder
> ----------------------------
>
>                 Key: ARQ-164
>                 URL: https://issues.jboss.org/browse/ARQ-164
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Deployable Containers SPI
>    Affects Versions: 1.0.0.Alpha2
>            Reporter: Jesper Pedersen
>            Assignee: Aslak Knutsen
>             Fix For: 1.0.0.Beta1
>
>         Attachments: arq164.diff, DeployableTestBuilderTestCase.java, pom.xml
>
>
> I get:
> java.lang.NullPointerException
>         at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:82)
>         at org.jboss.arquillian.impl.DeployableTestBuilder.build(DeployableTestBuilder.java:71)
>         at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:68)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> Any component that uses a SPI implementation should guard against null values - if there is a non-null requirement of course - and throw an IllegalArgumentException with a descriptive error message.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list