[jsfunit-dev] JSFUnit not running.

Julien Viet julien at jboss.com
Fri Apr 18 07:41:59 EDT 2008


what is the purpose of that list beside announcements ?


On Apr 18, 2008, at 12:36 PM, Jesse Alexander (KSFH 336) wrote:

> Hi Anusha,
>
> You might want to try posting your problem to the JSFUnit forum.  It  
> has a lot more traffic than the mailing list.
>
> btw... seems to be a classpath-problem... therefore you might add  
> the classpath-infos to the post in the forum...
>
> regards
> Alexander
>
>
>
> From: jsfunit-dev-bounces at lists.jboss.org [mailto:jsfunit-dev-bounces at lists.jboss.org 
> ] On Behalf Of Anusha.S.Muralikrishnan
> Sent: Wednesday, April 16, 2008 3:30 PM
> To: jsfunit-dev at lists.jboss.org
> Subject: [jsfunit-dev] JSFUnit not running.
>
> hi,
>
> Please help me resolve this.
>
> i am getting the following error whereas i have included all the  
> jars.. Since we are going Calypso project (its an extension on  
> MyFaces) i have host of other jars.
>
> JDK1.5,
> Tomcat 5.5
> JSF
> using JSFUnit,
> URL i am using http://localhost:8080/JSFSample/ServletTestRunner?suite=com.anu.JSFUnitTest&xsl=cactus-report.xsl
>
> when i use http://localhost:8080/JSFSample/ServletTestRunner?suite=com.anu.JSFUnitTest 
>  i can see
>
>   <?xml version="1.0" encoding="UTF-8" ?>
> - <testsuites>
> - <testsuite  
> name="com.nsn.nr.cm.cmviewer.dataaccessbean.JSFUnitTest" tests="1"  
> failures="0" errors="1" time="0.328">
> - <testcase name="testInitialPage" time="0.297">
>   <error message="JTidy parser not available"  
> type 
> = 
> "org 
> .apache 
> .cactus 
> .internal 
> .client.ServletExceptionWrapper">java.lang.RuntimeException: JTidy  
> parser not available at  
> com 
> .meterware 
> .httpunit 
> .parsing.HTMLParserFactory.useJTidyParser(HTMLParserFactory.java:60)  
> at  
> org 
> .jboss 
> .jsfunit 
> .framework 
> .WebConversationFactory 
> .makeWebConversation(WebConversationFactory.java:98) at  
> org 
> .jboss.jsfunit.facade.JSFClientSession.<init>(JSFClientSession.java: 
> 74) at  
> com 
> .nsn 
> .nr 
> .cm 
> .cmviewer 
> .dataaccessbean.JSFUnitTest.testInitialPage(JSFUnitTest.java:45) at  
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at  
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
> at  
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25) 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 
> .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  
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at  
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 269) at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 
> 188) at  
> org 
> .jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java: 
> 123) at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 215) at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 
> 188) at  
> com 
> .opensymphony 
> .module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at  
> com 
> .opensymphony 
> .module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 215) at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 
> 188) at com.nsn.calypso.LocaleFilter.doFilter(LocaleFilter.java:61)  
> at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 215) at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 
> 188) at  
> org 
> .ajax4jsf 
> .framework 
> .ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) at  
> org 
> .ajax4jsf 
> .framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)  
> at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 215) at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 
> 188) at  
> org 
> .apache 
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 
> 213) at  
> org 
> .apache 
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 
> 174) at  
> org 
> .apache 
> .catalina 
> .authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)  
> at  
> org 
> .apache 
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)  
> at  
> org 
> .apache 
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)  
> at  
> org 
> .apache 
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 
> 108) at  
> org 
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
> 174) at  
> org 
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 874) at org.apache.coyote.http11.Http11BaseProtocol 
> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: 
> 665) at  
> org 
> .apache 
> .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: 
> 528) at  
> org 
> .apache 
> .tomcat 
> .util 
> .net 
> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java: 
> 81) at org.apache.tomcat.util.threads.ThreadPool 
> $ControlRunnable.run(ThreadPool.java:689) at  
> java.lang.Thread.run(Thread.java:595)</error>
>   </testcase>
>   </testsuite>
>   </testsuites>
>
> Thanks
> Anusha
> _______________________________________________
> jsfunit-dev mailing list
> jsfunit-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jsfunit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsfunit-dev/attachments/20080418/970fc726/attachment.html 


More information about the jsfunit-dev mailing list