java.lang.NullPointerException

strutstestcase | thepagan | 1 decade ago
  1. 0

    Problems running StrutsTestCase

    strutstestcase | 1 decade ago | thepagan
    java.lang.NullPointerException
  2. 0

    NoClassDef Error running examples.TestLoginAc

    strutstestcase | 1 decade ago | nobody
    java.lang.NullPointerException
  3. 0

    getActionServlet throws NullPointerException

    strutstestcase | 1 decade ago | darkpenguin
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.struts.action.ActionServlet.initModuleConfig()
    2. struts
      ActionServlet.init
      1. org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:941)
      2. org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
      2 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
      1 frame
    4. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:158)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:207)
      2 frames
    5. com.nsa.test
      TestCactusLoginAction.testFailedLogin
      1. com.nsa.test.TestCactusLoginAction.testFailedLogin(TestCactusLoginAction.java:47)
      1 frame
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    7. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
      3 frames