junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null

strutstestcase | nobody | 1 decade ago
  1. 0

    Null Pointer exception for the StrutsTestCase

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null
  2. 0

    MockStrutsTestCase problem

    strutstestcase | 9 years ago | erzula
    junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null
  3. 0

    AssertionFailedError:java.lang.NullPointerExc

    strutstestcase | 10 years ago | nobody
    junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error running action.perform(): class java.la

    strutstestcase | 10 years ago | nobody
    junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null
  6. 0

    Nullpointer

    strutstestcase | 1 decade ago | *anonymous
    junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null

    4 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. junit.framework.AssertionFailedError

      Error running action.perform(): class java.lang.NullPointerException - null

      at junit.framework.Assert.fail()
    2. JUnit
      Assert.fail
      1. junit.framework.Assert.fail(Assert.java:51)
      1 frame
    3. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:235)
      1 frame
    4. fi.radar.esurvey
      TestLoginAction.testSuccessfulLogin
      1. fi.radar.esurvey.action.TestLoginAction.testSuccessfulLogin(TestLoginAction.java:42)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. 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
    7. 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