[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:19:06 EST 2013


    [ https://issues.jboss.org/browse/ARQ-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927948#comment-12927948 ] 

Tilmann Kuhn edited comment on ARQ-1592 at 12/2/13 12:18 PM:
-------------------------------------------------------------

I guess the code to determine the correct URI must already be in there somewhere because test interaction using the servlet protocol works correctly.
                
      was (Author: tilm4nn):
    I guess the code to determine the correct URI must already be in there somewhere because Drone/Graphene get the URI right for their injections and page-navigations.
                  
> 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