[Anthill] junit is not working with anthill
Sheik Mohamed
sheikmohamed7 at gmail.com
Fri Sep 23 08:28:59 CDT 2005
Hi I am new user to anthiil ,
I configured anthill successfully .Using anthill ,nightly build
working fine .ie It is creating ears.For Junit and coverage report it
is not working .It is giving error like this
[junit] - Error initializing action servlet
[junit] java.lang.NullPointerException
[junit] at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1001)
[junit] at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:953)
[junit] at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:469)
[junit] at javax.servlet.GenericServlet.init(GenericServlet.java:258)
[junit] at
servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:203)
[junit] at
com.tavant.resolve.cv.web.notice.controller.TestCVNoticeAction.setUp(TestCVNoticeAction.java:54)
[junit] at junit.framework.TestCase.runBare(TestCase.java:125)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
[junit] - ActionServlet: init
[junit] - Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
the same thing running perfectly in manual build .
I am using ant-1.5.3
Please help me out this .
Thanks in advance
With Regards
Sheik Mohamed.L
--
With Regards
Sheik Mohamed.L
More information about the Anthill
mailing list