junit.framework.AssertionFailedError: was expecting '/ViewReport.jsp' but received 'http://null:8080null'

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 meagle
, 1 year ago
was expecting '/ViewReport.jsp' but received 'http://null:8080null'
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 *anonymous
, 1 year ago
was expecting '/Final\_War/jsp/AAAAAA /BBBBB .jsp' but received '/Final\_Warnull'
via strutstestcase by *anonymous
, 1 year ago
was expecting '/Final\_War/jsp/AAAAAA /BBBBB .jsp' but received '/Final\_Warnull'
junit.framework.AssertionFailedError: was expecting '/ViewReport.jsp' but received 'http://null:8080null'
at servletunit.struts.Common.verifyForwardPath(Common.java:313)
at servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:605)
at com.xxxx.test.ReportTest.testReport(ReportTest.java:64)
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:329)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)

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.