java.lang.NullPointerException

strutstestcase | *anonymous | 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:158)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:207)
      2 frames
    5. com.randomwalk.portfolio
      RWPActionTest.testSuccessfulListing
      1. com.randomwalk.portfolio.tests.RWPActionTest.testSuccessfulListing(RWPActionTest.java:28)
      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:166)
      2. junit.framework.TestCase.runBare(TestCase.java:140)
      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:131)
      7. junit.framework.TestSuite.runTest(TestSuite.java:173)
      8. junit.framework.TestSuite.run(TestSuite.java:168)
      8 frames
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:377)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:261)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:152)
      3 frames