junit.framework.AssertionFailedError: was expecting '/ANAUI/JSPs/Common/NotificationForLogedInUser.jsp' but received '/ANAUI/JSPs/Common/LogInPage.jsp'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via strutstestcase by nobody
, 1 year ago
was expecting '/ANAUI/JSPs/Common/NotificationForLogedInUser.jsp' but received '/ANAUI/JSPs/Common/LogInPage.jsp'
via Google Groups by Gary Weberg, 2 years ago
was expecting '/pages/application/account/jsp/applypayment.jsp' but received '/applyPaymentAction.do?method=validate'
via Google Groups by Udai Gupta (JIRA), 2 months ago
was expecting '/pages/application/surveys/jsp/preview_instance.jsp' but received '/pages/application/surveys/jsp/create_instance.jsp'
via Google Groups by KeithP, 2 years ago
was expecting '/pages/application/surveys/jsp/preview_instance.jsp' but received '/pages/application/surveys/jsp/create_instance.jsp'
via strutstestcase by meagle
, 1 year ago
was expecting '/ViewReport.jsp' but received 'http://null:8080null'
via strutstestcase by *anonymous
, 1 year ago
was expecting '/WEB-INF/layout.jsp' but received ‘a.register’
junit.framework.AssertionFailedError: was expecting '/ANAUI/JSPs/Common/NotificationForLogedInUser.jsp' but received '/ANAUI/JSPs/Common/LogInPage.jsp'
at servletunit.struts.Common.verifyForwardPath(Common.java:339)
at servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:571)
at com.ibm.ana.internet.common.junit.test.TestLoginAction.testSuccessfulLogin(TestLoginAction.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:228)
at junit.framework.TestSuite.run(TestSuite.java:223)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.