[jboss-user] [JBoss Seam] - Problem running TestNG tests from maven
ehstowa
do-not-reply at jboss.com
Thu Apr 26 06:07:29 EDT 2007
Hi,
we are running
Seam 1.2.1
MyFaces 1.1.5
on Tomcat 5.5.20
When running TestNG tests from Eclipse or Idea, all tests work fine, however when running them from Maven, all fail with the error:
java.lang.NullPointerException
at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:418)
at com.fastsearch.w2p.moox.seamtests.LoginTest.registerTest(LoginTest.java:18)
where we are attemting the first action in the test (Bold line):
public class LoginTest extends MooxSeamTest {
| @Test(groups = {"seam"})
| public void registerTest() throws Exception {
| new FacesRequest("index.html") {
|
Does anybody have any ideas?
Thanks
/ Tomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040905#4040905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040905
More information about the jboss-user
mailing list