[arquillian-issues] [JBoss JIRA] Commented: (ARQ-164) NPE in DeployableTestBuilder
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Fri Jun 4 12:24:25 EDT 2010
[ https://jira.jboss.org/browse/ARQ-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12533977#action_12533977 ]
Jesper Pedersen commented on ARQ-164:
-------------------------------------
The error was I didn't include a ContainerConfiguration in my setup. Hence "throw new IllegalArgumentException("ContainerConfiguration is null")"
> NPE in DeployableTestBuilder
> ----------------------------
>
> Key: ARQ-164
> URL: https://jira.jboss.org/browse/ARQ-164
> Project: Arquillian
> Issue Type: Bug
> Components: Deployable Containers SPI
> Affects Versions: 1.0.0.Alpha2
> Reporter: Jesper Pedersen
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list