java.lang.NullPointerException

strutstestcase | nobody | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    getting uncaught exception

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.landg.origo.online.web.controllers.ClientController.execute()
    2. com.landg.origo
      ClientController.execute
      1. com.landg.origo.online.web.controllers.ClientController.execute(ClientController.java:47)
      1 frame
    3. struts
      ActionServlet.doPost
      1. org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:219)
      2. org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
      3. org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:966)
      4. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:204)
      5. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
      6. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      6 frames
    4. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:290)
      1 frame
    5. com.landg.origo
      ClientActionTest.testClientAction
      1. com.landg.origo.online.web.actions.ClientActionTest.testClientAction(ClientActionTest.java:55)
      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