[
https://jira.jboss.org/browse/ARQ-164?page=com.atlassian.jira.plugin.syst...
]
Carlo de Wolf commented on ARQ-164:
-----------------------------------
Replaced it with:
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-jbossas-managed-5.1</artifactId>
<version>1.0.0.Alpha3</version>
<scope>test</scope>
</dependency>
leads to:
java.lang.NoClassDefFoundError: org/jboss/jbossas/servermanager/ServerManager
at
org.jboss.arquillian.container.jbossas.managed_5_1.JBossASLocalContainer.createAndConfigureServerManager(JBossASLocalContainer.java:221)
at
org.jboss.arquillian.container.jbossas.managed_5_1.JBossASLocalContainer.setup(JBossASLocalContainer.java:64)
at org.jboss.arquillian.impl.handler.ContainerCreator.callback(ContainerCreator.java:56)
at org.jboss.arquillian.impl.handler.ContainerCreator.callback(ContainerCreator.java:46)
at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
at
org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
at
org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:62)
at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:89)
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
Fix For: 1.0.0.Beta1
Attachments: arq164.diff, DeployableTestBuilderTestCase.java
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