java.lang.NullPointerException

strutstestcase | langdons | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ActionForm not appearing in action when teste

    strutstestcase | 1 decade ago | langdons
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at adamh.StudentRegistrationWizardAction.execute()
    2. adamh
      StudentRegistrationWizardAction.execute
      1. adamh.StudentRegistrationWizardAction.execute(StudentRegistrationWizardAction.java:35)
      1 frame
    3. struts
      ActionServlet.doPost
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      4 frames
    4. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394)
      1 frame
    5. adamh.Tests
      StudentRegistrationWizardActionTest.testStudentRegistrationWizardEmail
      1. adamh.Tests.StudentRegistrationWizardActionTest.testStudentRegistrationWizardEmail(StudentRegistrationWizardActionTest.java:39)
      1 frame
    6. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    7. IDEA
      TextTestRunner.main
      1. com.intellij.rt.execution.junit.TextTestRunner.main(TextTestRunner.java:12)
      1 frame