java.lang.NullPointerException

strutstestcase | alfvaen | 1 decade ago
  1. 0

    NoClassDef Error running examples.TestLoginAc

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

    getActionServlet throws NullPointerException

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

    Automated exception search integrated into your IDE

  4. 0

    Problems running StrutsTestCase

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

    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:258)
      1 frame
    4. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:279)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:332)
      2 frames
    5. com.kakari.strutstest
      LoginTest.testSuccessfulLogin
      1. com.kakari.strutstest.test.LoginTest.testSuccessfulLogin(LoginTest.java:37)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    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. Junit4Osgi
      TestRunner$16.run
      1. junit.swingui.TestRunner$16.run(TestRunner.java:623)
      1 frame