[arquillian-issues] [JBoss JIRA] Closed: (ARQ-452) NPE in ServletUtil.determineBaseURI(ServletUtil.java:44) with multiple @Deployment methods that have non-unique names
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Wed Sep 14 11:06:27 EDT 2011
[ https://issues.jboss.org/browse/ARQ-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen closed ARQ-452.
-----------------------------
released, pushed upstream
> NPE in ServletUtil.determineBaseURI(ServletUtil.java:44) with multiple @Deployment methods that have non-unique names
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: ARQ-452
> URL: https://issues.jboss.org/browse/ARQ-452
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Base Implementation
> Affects Versions: 1.0.0.Alpha5
> Environment: Maven 3, Linux, Arquillian 1.0.0.Alpha5
> Reporter: Joshua Davis
> Assignee: Aslak Knutsen
> Fix For: 1.0.0.CR5
>
> Attachments: multi-deployment.txt
>
>
> When there are multiple {{@Deployment}} methods in a test, and the {{@Deployment}} methods have the same name Arquillian will throw a {{NullPointerException}}:
> {code}
> testSomething(eg.domainmodel.UserTest) Time elapsed: 0.019 sec <<< ERROR!
> java.lang.NullPointerException
> at org.jboss.arquillian.protocol.servlet.ServletUtil.determineBaseURI(ServletUtil.java:44)
> at org.jboss.arquillian.protocol.servlet.BaseServletProtocol.getExecutor(BaseServletProtocol.java:56)
> at org.jboss.arquillian.protocol.servlet.BaseServletProtocol.getExecutor(BaseServletProtocol.java:30)
> at org.jboss.arquillian.impl.execution.RemoteTestExecuter.getContainerMethodExecutor(RemoteTestExecuter.java:105)
> at org.jboss.arquillian.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:96)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
> {code}
--
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