[
https://issues.jboss.org/browse/ARQ-1592?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on ARQ-1592:
---------------------------------
Tilmann, could you eventually create a reproducer? It should be ideally in a Warp
functional test suite?
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
{code}
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)
...
{code}
--
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