servletunit.struts.ExceptionDuringTestError: A NullPointerException was thrown. This may indicate an error in your ActionForm, or it may indicate that the Struts ActionServlet was unable to find struts config file. TestCase is running from C:\Program Files\netbeans-5.5beta\enterprise3\apache-tomcat-5.5.16\bin directory.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via strutstestcase by nobody
, 1 year ago
A NullPointerException was thrown. This may indicate an error in your ActionForm, or it may indicate that the Struts ActionServlet was unable to find struts config file. TestCase is running from C:\Program Files\netbeans-5.5beta\enterprise3\apache-tomcat-5.5.16\bin directory.
via Coderanch by thomas davis, 11 months ago
An uncaught exception was thrown during actionExecute()
via strutstestcase by nobody
, 1 year ago
A NullPointerException was thrownThis may indicate an error in your ActionForm, or it may indicate that the Struts ActionServlet was unable to find struts config fileTestCase is running from C:\bea\user\_projects\domains\test directory.
via Coderanch by thomas davis, 11 months ago
via Coderanch by thomas davis, 11 months ago
via strutstestcase by richardelsberry
, 1 year ago
An uncaught exception was thrown during actionExecute()
servletunit.struts.ExceptionDuringTestError: A NullPointerException was thrown. This may indicate an error in your ActionForm, or it may indicate that the Struts ActionServlet was unable to find struts config file. TestCase is running from C:\Program Files\netbeans-5.5beta\enterprise3\apache-tomcat-5.5.16\bin directory.
at servletunit.struts.CactusStrutsTestCase.actionPerform(CactusStrutsTestCase.java:544)
at cz.muni.cba.detlib.actions.TestActionLogin.testSuccessfullLogin(TestActionLogin.java:61)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.