[arquillian-issues] [JBoss JIRA] (ARQ-1592) Warp: Wrong command bus uri for multiple context roots
Tilmann Kuhn (JIRA)
jira-events at lists.jboss.org
Mon Dec 2 12:15:06 EST 2013
Tilmann Kuhn created ARQ-1592:
---------------------------------
Summary: Warp: Wrong command bus uri for multiple context roots
Key: ARQ-1592
URL: https://issues.jboss.org/browse/ARQ-1592
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Warp
Affects Versions: warp_1.0.0.Alpha5
Environment: JBoss EAP 6.0.1
Reporter: Tilmann Kuhn
When using warp with an EAR containing multiple WARs (only one marked as testable in the deployment) that have different context roots (e.g. "/foo" and "/bar") then local part of URI for the command event bus is determined as "/" in method CommandBusOnClient.locateCommandEventBusUri. Subsequent calls to the bus fail with HTTP 404 which is unhandled in CommandBusOnClient.execute and thus lead to
java.lang.NullPointerException
at org.jboss.arquillian.warp.impl.client.commandBus.CommandBusOnClient.executeRemotely(CommandBusOnClient.java:163)
at org.jboss.arquillian.warp.impl.client.commandBus.CommandServiceOnClient.execute(CommandServiceOnClient.java:38)
at org.jboss.arquillian.warp.impl.client.commandBus.RemoteSuiteLifecyclePropagation.sendAfter(RemoteSuiteLifecyclePropagation.java:61)
...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list