3 Replies Latest reply on Apr 27, 2011 9:10 AM by Jozef Hartinger

    seam-booking test failure

    Allen Cunningham Newbie

      I'm getting this failure when i run mvn test -Pjbossas-remote-6:


      Failed tests:
        initializeParameters(org.jboss.seam.examples.booking.ftest.BookingTest)
      


      The booking example runs fine in JBoss. I'm running Seam 3.0.0.Final and JBoss 6.0.0.Final. My Java version is 1.6.0.23 on Windows 7.


      Here's the details from surefire-report:


      Command line test
      org.jboss.seam.examples.booking.ftest.BookingTest:initializeParameters
      context.root system property should be set
      
      org.apache.commons.lang.Validate.notNull(Validate.java:192) 
      at org.jboss.test.selenium.SystemProperties.getContextRoot(SystemProperties.java:52) 
      at org.jboss.test.selenium.AbstractTestCase.initializeParameters(AbstractTestCase.java:125) 
      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 org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643) 
      at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446) 
      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162) 
      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92) 
      at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:183) 
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115) 
      at org.testng.TestRunner.runWorkers(TestRunner.java:1030) 
      at org.testng.TestRunner.privateRun(TestRunner.java:709) 
      at org.testng.TestRunner.run(TestRunner.java:579) 
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:331) 
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326) 
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288) 
      at org.testng.SuiteRunner.run(SuiteRunner.java:193) 
      at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910) 
      at org.testng.TestNG.runSuitesLocally(TestNG.java:879) 
      at org.testng.TestNG.run(TestNG.java:787) 
      at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:61) 
      at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:144) 
      at org.apache.maven.surefire.Surefire.run(Surefire.java:169) 
      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 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) 
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) 
      


      Any suggestions?