5 Replies Latest reply on Mar 27, 2011 10:46 AM by Brian Leathem

    Arquillian, JsfUnit2, Seam Faces = StackOverflowError ?

    Craig Greenhalgh Newbie

      Has anyone got this stack to work ?

       

      Im using

      Arquillian 1.0.0.Alpha

      JsfUnit2.0 Beta 1

      Seam Faces 3 CR1

       

      Im using JbossAS 6 Final

       

      When the following are added to my war, the app will not start as a stack overflow is thrown.  Logs below, does anyone have any ideas what is causing this or how to overcome this?

       

      arquillian-core.jar

      arquillian-jboss-testenrichers.jar

      arquillian-jsfunit.jar

      arquillian-junit.jar

      arquillian-protocol.jar

       

      Many thanks

       

      Craig

       

       

      17:08:54,221 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: java.lang.StackOverflowError
          at org.jboss.classloading.spi.dependency.ClassLoading.getModuleForClassLoader(ClassLoading.java:334) [jboss-classloading.jar:2.2.0.GA]
          at org.jboss.weld.integration.deployer.env.bda.SecurityActions$3.run(SecurityActions.java:91) [:6.0.0.Final]
          at org.jboss.weld.integration.deployer.env.bda.SecurityActions$3.run(SecurityActions.java:88) [:6.0.0.Final]
          at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_20]
          at org.jboss.weld.integration.deployer.env.bda.SecurityActions.getModuleForClassLoader(SecurityActions.java:87) [:6.0.0.Final]
          at org.jboss.weld.integration.deployer.env.bda.DUTopLevelClassLoaderGetter.getTopLevelClassLoader(DUTopLevelClassLoaderGetter.java:68) [:6.0.0.Final]
          at org.jboss.weld.integration.provider.JBossSingletonProvider$EarSingleton.getTopLevelClassLoader(JBossSingletonProvider.java:81) [:6.0.0.Final]
          at org.jboss.weld.integration.provider.JBossSingletonProvider$EarSingleton.get(JBossSingletonProvider.java:55) [:6.0.0.Final]
          at org.jboss.weld.Container.instance(Container.java:58) [:6.0.0.Final]
          at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:72) [:6.0.0.Final]
          at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87) [:6.0.0.Final]
          at org.jboss.seam.faces.environment.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.getRequestHeaderMap(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.java) [:3.0.0.CR1]
          at javax.faces.context.ExternalContextWrapper.getRequestHeaderMap(ExternalContextWrapper.java:238) [:2.0.3-]
          at org.jboss.seam.faces.environment.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.getRequestHeaderMap(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.java) [:3.0.0.CR1]
          at javax.faces.context.ExternalContextWrapper.getRequestHeaderMap(ExternalContextWrapper.java:238) [:2.0.3-]
          at org.jboss.seam.faces.environment.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.getRequestHeaderMap(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.java) [:3.0.0.CR1]
          at javax.faces.context.ExternalContextWrapper.getRequestHeaderMap(ExternalContextWrapper.java:238) [:2.0.3-]
          at org.jboss.seam.faces.environment.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.getRequestHeaderMap(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$C:$jboss-6$0$0$Final$server$default$deploy$test$war"-ManagedBean-class_org$jboss$seam$faces$environment$SeamExternalContext_$$_WeldClientProxy.java) [:3.0.0.CR1]
          at javax.faces.context.ExternalContextWrapper.getRequestHeaderMap(ExternalContextWrapper.java:238) [:2.0.3-]