Running against HtmlUnit 2.7.
Got: Caused by: java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
Full stack trace attached.
To recreate the problem:
svn co http://anonsvn.jboss.org/repos/jsfunit/htmlunit-richfaces/
cd htmlunit-richfaces
mvn install -Dtest=DataTableTest
The WAR file can be deployed to Tomcat 5.5 if you want to run it by hand.
Also see discussion from JSFUnit user who first encountered the problem:
http://community.jboss.org/message/526453#526453
JUnit Report with stack trace
Now fixed in SVN. Thanks for the small test.