4 Replies Latest reply on Apr 26, 2011 4:48 PM by ssilvert

    StackOverflowError

    susmit_shukla

      Got following error while running a JSFUnit test. The environment was using JSF/Spring integration. Putting the spring

      <listener-class>org.springframework.web.context.request.RequestContextListener

      in web.xml caused the issue. Following is the stacktrace, full trace is also attached. Right now not using RequestContextListener but looks like this exception should not happen anyways.

       

      Caused by: java.lang.StackOverflowError

          at org.jboss.jsfunit.context.JSFUnitExternalContext.getRequestCharacterEncoding(JSFUnitExternalContext.java:372)

          at org.jboss.jsfunit.context.JSFUnitHttpServletRequest.getCharacterEncoding(JSFUnitHttpServletRequest.java:221)

          at org.jboss.jsfunit.context.JSFUnitExternalContext.getRequestCharacterEncoding(JSFUnitExternalContext.java:372)

          at org.jboss.jsfunit.context.JSFUnitHttpServletRequest.getCharacterEncoding(JSFUnitHttpServletRequest.java:221)

          at org.jboss.jsfunit.context.JSFUnitExternalContext.getRequestCharacterEncoding(JSFUnitExternalContext.java:372)

          at org.jboss.jsfunit.context.JSFUnitHttpServletRequest.getCharacterEncoding(JSFUnitHttpServletRequest.java:221)