[arquillian-issues] [JBoss JIRA] Commented: (ARQ-410) NPE in ContainerDeployController.forEachManagedDeployment() on web.xml parse error.

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Thu Apr 7 15:30:33 EDT 2011


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

Ondrej Zizka commented on ARQ-410:
----------------------------------

Another example of this NPE: https://gist.github.com/908497

> NPE in ContainerDeployController.forEachManagedDeployment() on web.xml parse error.
> -----------------------------------------------------------------------------------
>
>                 Key: ARQ-410
>                 URL: https://issues.jboss.org/browse/ARQ-410
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: 1.0.0.alpha5
>            Reporter: Ondrej Zizka
>         Attachments: ARQ-410.txt
>
>
> I had errorneous in-container-web.xml, so parsing it failed with ContainerDeployController.forEachManagedDeployment .
> Successively, Arquillian threw the exception below.
> To reproduce, you can run Tomcat remote container from the commit
>   [tomcat e7572f3] Some progress with ArquillianServletRunner
> from https://github.com/OndraZizka/arquillian .
> org.jboss.arquillian.container.tomcat.remote_6.TomcatRemoteInContainerTestCase  Time elapsed: 1.419 sec  <<< ERROR!
> java.lang.NullPointerException
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:204)
> 	at org.jboss.arquillian.impl.client.container.ContainerDeployController.undeployManaged(ContainerDeployController.java:99)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
> 	at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)
> Full ST attached.

--
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