3 Replies Latest reply on Feb 9, 2010 3:02 PM by Stan Silvert

    Simple test case don't run

    Allan Wojcik Newbie

      Hi folks,

       

      Trying to run a simple test case, but JSFUnit throws following exception:

       

      ======= EXCEPTION START ========
      EcmaError: lineNumber=[260] column=[0] lineSource=[<no source>] name=[TypeError] sourceName=[http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript] message=[TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)]
      com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:534)
          at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
          at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:432)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:407)
          at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:965)
          at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:310)
          at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:364)
          at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:213)
          at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:239)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:595)
          at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:549)
          at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1025)
          at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:927)
          at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
          at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
          at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3041)
          at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1993)
          at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:910)
          at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
          at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:798)
          at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:278)
          at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
          at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
          at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:442)
          at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329)
          at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)
          at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179)
          at com.gargoylesoftware.htmlunit.html.HtmlButton.doClickAction(HtmlButton.java:81)
          at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1329)
          at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1288)
          at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1257)
          at org.jboss.jsfunit.framework.FormAuthenticationStrategy.clickSubmitComponent(FormAuthenticationStrategy.java:127)
          at org.jboss.jsfunit.framework.FormAuthenticationStrategy.doInitialRequest(FormAuthenticationStrategy.java:108)
          at org.jboss.jsfunit.framework.WebClientSpec.doInitialRequest(WebClientSpec.java:259)
          at org.jboss.jsfunit.jsfsession.JSFSession.<init>(JSFSession.java:81)
          at xxxx.XXXXManagedBeanTest.testInvocarConsultar(XXXXManagedBeanTest.java:36)
          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 junit.framework.TestCase.runTest(TestCase.java:164)
          at junit.framework.TestCase.runBare(TestCase.java:130)
          at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
          at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
          at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
          at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:217)
          at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
          at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
          at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:217)
          at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
          at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doPost(JSFUnitServletRedirector.java:46)
          at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
          at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:217)
          at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
          at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doGet(JSFUnitServletRedirector.java:52)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:119)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3743)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2247)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)
          at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3143)
          at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
          at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
          at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
          at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
          at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:423)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528)
          ... 76 more
      Enclosed exception:
      net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3743)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2247)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)
          at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3143)
          at script(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript:260)
          at script(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/menu.js:98)
          at script(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/menu.js:75)
          at script.klass(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript:4)
          at script(script in http://localhost:8080/xxxx/form.jsf?BEAN=XXXX&FORM=CONSULTA from (131, 6801) to (131, 7604):131)
          at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
          at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
          at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
          at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
          at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
          at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:423)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528)
          at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
          at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:432)
          at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:407)
          at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:965)
          at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:310)
          at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:364)
          at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:213)
          at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:239)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:595)
          at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:549)
          at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1025)
          at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:927)
          at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
          at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
          at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3041)
          at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1993)
          at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:910)
          at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
          at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
          at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:798)
          at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:278)
          at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
          at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
          at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:442)
          at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329)
          at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)
          at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179)
          at com.gargoylesoftware.htmlunit.html.HtmlButton.doClickAction(HtmlButton.java:81)
          at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1329)
          at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1288)
          at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1257)
          at org.jboss.jsfunit.framework.FormAuthenticationStrategy.clickSubmitComponent(FormAuthenticationStrategy.java:127)
          at org.jboss.jsfunit.framework.FormAuthenticationStrategy.doInitialRequest(FormAuthenticationStrategy.java:108)
          at org.jboss.jsfunit.framework.WebClientSpec.doInitialRequest(WebClientSpec.java:259)
          at org.jboss.jsfunit.jsfsession.JSFSession.<init>(JSFSession.java:81)
          at xxxx.XXXXManagedBeanTest.testInvocarConsultar(XXXXManagedBeanTest.java:36)
          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 junit.framework.TestCase.runTest(TestCase.java:164)
          at junit.framework.TestCase.runBare(TestCase.java:130)
          at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
          at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
          at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
          at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:217)
          at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
          at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
          at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:217)
          at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
          at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doPost(JSFUnitServletRedirector.java:46)
          at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
          at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:217)
          at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
          at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doGet(JSFUnitServletRedirector.java:52)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:119)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
          at java.lang.Thread.run(Thread.java:619)
      ======= EXCEPTION END ========

       

      Is bundled protoype script causing the failure?

       

      Environment:

      JSFUnit 1.1.0.GA

      HtmlUnit 2.5

      nekohtml-1.9.12

      Richfaces 3.3.2.SR1

       

      Any help?

       

      Thanks

       

      Allan Wojcik

        • 1. Re: Simple test case don't run
          Stan Silvert Master

          Right now we're having trouble with RichFaces 3.3.2.SR1 incompatibility with the latest Neko.  Can you try this with HtmlUnit 2.5 and Neko 1.9.9?

           

          If that doesn't work, try Neko 1.9.6.  Please let me know what you find.

           

          Thanks,

           

          Stan

          • 2. Re: Simple test case don't run
            Allan Wojcik Newbie
            Following stack traces:

            >>> nekohtml 1.9.9
            >>> htmlunit 2.5

            ======= EXCEPTION START ========
            EcmaError: lineNumber=[260] column=[0] lineSource=[<no source>] name=[TypeError] sourceName=[http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript] message=[TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)]
            com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:534)
                at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
                at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:432)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:407)
                at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:965)
                at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:310)
                at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:364)
                at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:213)
                at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:239)
                at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:595)
                at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
                at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:549)
                at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:210)
                at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
                at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:993)
                at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:896)
                at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:2893)
                at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1954)
                at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:893)
                at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:495)
                at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:448)
                at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:798)
                at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:278)
                at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
                at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
                at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:442)
                at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329)
                at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)
                at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179)
                at com.gargoylesoftware.htmlunit.html.HtmlButton.doClickAction(HtmlButton.java:81)
                at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1329)
                at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1288)
                at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1257)
                at org.jboss.jsfunit.framework.FormAuthenticationStrategy.clickSubmitComponent(FormAuthenticationStrategy.java:127)
                at org.jboss.jsfunit.framework.FormAuthenticationStrategy.doInitialRequest(FormAuthenticationStrategy.java:108)
                at org.jboss.jsfunit.framework.WebClientSpec.doInitialRequest(WebClientSpec.java:259)
                at org.jboss.jsfunit.jsfsession.JSFSession.<init>(JSFSession.java:81)
                at xxxx.XXXXManagedBeanTest.testInvocarConsultar(XXXXManagedBeanTest.java:36)
                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 junit.framework.TestCase.runTest(TestCase.java:164)
                at junit.framework.TestCase.runBare(TestCase.java:130)
                at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
                at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:217)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
                at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
                at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:217)
                at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
                at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doPost(JSFUnitServletRedirector.java:46)
                at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
                at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:217)
                at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
                at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doGet(JSFUnitServletRedirector.java:52)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:119)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                at java.lang.Thread.run(Thread.java:619)
            Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3743)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2247)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)
                at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3143)
                at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
                at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
                at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
                at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
                at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:423)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528)
                ... 76 more
            Enclosed exception:
            net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function attachEvent in object [object Object]. (http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript#260)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3743)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2247)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2214)
                at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3143)
                at script(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript:260)
                at script(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/menu.js:98)
                at script(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/menu.js:75)
                at script.klass(http://localhost:8080/xxxx/faces/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript:4)
                at script(script in http://localhost:8080/xxxx/form.jsf?BEAN=XXXX&FORM=CONSULTA from (131, 6797) to (131, 7599):131)
                at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
                at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
                at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
                at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
                at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
                at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:423)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528)
                at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
                at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:432)
                at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:407)
                at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:965)
                at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:310)
                at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:364)
                at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:213)
                at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:239)
                at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:595)
                at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
                at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:549)
                at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:210)
                at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
                at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:993)
                at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:896)
                at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:2893)
                at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1954)
                at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:893)
                at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:495)
                at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:448)
                at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:798)
                at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:278)
                at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
                at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
                at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:442)
                at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329)
                at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)
                at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179)
                at com.gargoylesoftware.htmlunit.html.HtmlButton.doClickAction(HtmlButton.java:81)
                at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1329)
                at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1288)
                at com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1257)
                at org.jboss.jsfunit.framework.FormAuthenticationStrategy.clickSubmitComponent(FormAuthenticationStrategy.java:127)
                at org.jboss.jsfunit.framework.FormAuthenticationStrategy.doInitialRequest(FormAuthenticationStrategy.java:108)
                at org.jboss.jsfunit.framework.WebClientSpec.doInitialRequest(WebClientSpec.java:259)
                at org.jboss.jsfunit.jsfsession.JSFSession.<init>(JSFSession.java:81)
                at xxxx.XXXXManagedBeanTest.testInvocarConsultar(XXXXManagedBeanTest.java:36)
                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 junit.framework.TestCase.runTest(TestCase.java:164)
                at junit.framework.TestCase.runBare(TestCase.java:130)
                at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
                at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:217)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
                at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
                at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:217)
                at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
                at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doPost(JSFUnitServletRedirector.java:46)
                at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
                at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:217)
                at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
                at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doGet(JSFUnitServletRedirector.java:52)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:119)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                at java.lang.Thread.run(Thread.java:619)
            ======= EXCEPTION END ========



            >>> nekohtml 1.9.6
            >>> htmlunit 2.5

            java.lang.NoClassDefFoundError: org/cyberneko/html/HTMLTagBalancingListener
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1850)
                at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
                at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
                at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
                at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:270)
                at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
                at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
                at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:442)
                at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329)
                at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386)
                at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371)
                at org.jboss.jsfunit.framework.SimpleInitialRequestStrategy.doInitialRequest(SimpleInitialRequestStrategy.java:48)
                at org.jboss.jsfunit.framework.FormAuthenticationStrategy.doInitialRequest(FormAuthenticationStrategy.java:105)
                at org.jboss.jsfunit.framework.WebClientSpec.doInitialRequest(WebClientSpec.java:259)
                at org.jboss.jsfunit.jsfsession.JSFSession.<init>(JSFSession.java:81)
                at xxxx.XXXXManagedBeanTest.testInvocarConsultar(XXXXManagedBeanTest.java:36)
                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 junit.framework.TestCase.runTest(TestCase.java:164)
                at junit.framework.TestCase.runBare(TestCase.java:130)
                at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
                at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:217)
                at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
                at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
                at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:217)
                at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
                at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doPost(JSFUnitServletRedirector.java:46)
                at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
                at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:217)
                at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
                at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doGet(JSFUnitServletRedirector.java:52)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:119)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.ClassNotFoundException: org.cyberneko.html.HTMLTagBalancingListener
                at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
                at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
                at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                ... 57 more

            By the way, what Richfaces is recommended?
            • 3. Re: Simple test case don't run
              Stan Silvert Master

              allanws wrote:

               


              By the way, what Richfaces is recommended?

              Hi Allan,

               

              Sorry, I missed that last question.  Hopefully, this post answers it.

               

              Whenever you have a new question please start a new thread.  That brings it to my attention.  As for your original question, is there any chance you can provide a simple example to recreate the problem?

               

              Regards,

               

              Stan