junit.framework.AssertionFailedError

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web30

  • via strutstestcase by nobody
    ,
  • via strutstestcase by darkpenguin
    ,
  • via strutstestcase by nobody
    ,
  • Stack trace

    • junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:235) at examples.TestLoginAction.testFailedLogin(TestLoginAction.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at examples.TestLoginAction.main(TestLoginAction.java:58)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,