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 web1

  • via strutstestcase by nobody
    ,
  • Stack trace

    • junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.NullPointerException - null at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java) at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11) at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:340) at au.com.qtech.coreweb.unittests.ModelAddTest1.testLogon(ModelAddTest1.java:79) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:199) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:571) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:199) at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335) at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172) at java.lang.Thread.run(Thread.java:801)

    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

    We couldn't find other users who have seen this exception.