junit.framework.AssertionFailedError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • AssertionFailedError:java.lang.NullPointerExc
    via strutstestcase by nobody
    ,
  • MockStrutsTestCase problem
    via strutstestcase by erzula
    ,
  • Error running action.perform(): class java.la
    via strutstestcase by nobody
    ,
  • Nullpointer
    via strutstestcase by *anonymous
    ,
  • Null Pointer exception for the StrutsTestCase
    via strutstestcase by nobody
    ,
  • .actionPerform() and ServletException
    via strutstestcase by *anonymous
    ,
  • AFE : UnsupportedOperationException !
    via strutstestcase by *anonymous
    ,
  • GitHub comment 23#20821349
    via GitHub by ksclarke
    ,
  • error
    via by 807598,
    • junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null at junit.framework.Assert.fail(Assert.java:47) at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:339) at classmate.TestLoginAction.testSuccessfulLogin(TestLoginAction.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Users with the same issue

    CasperCasper
    2 times, last one,
    treefolktreefolk
    5 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    AdrienAdrien
    9 times, last one,
    andyglickandyglick
    1 times, last one,
    27 more bugmates