java.lang.AssertionError: Expected: "XHTML Test Page" got: ""

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 Google Groups by hudson, 2 years ago
Expected: "XHTML Test Page" got: ""
via Google Groups by hudson, 2 years ago
Expected: "XHTML Test Page" got: ""
via Sonatype JIRA by Peter Lynch, 1 year ago
Expected: not response status in error but: was <org.restlet.data.Response@619f542c>
via Google Groups by Ivo Grootjes, 4 months ago
> Expected: is "@" > got: "\"@" >
via openwritings.net by Unknown author, 1 year ago
Expected: a string containing "Not found" but: was "Assert string containing something."
via yahoo.com by Unknown author, 1 year ago
Expected: a CDR record with call ID: 12345678900 but: the call ID was "1234567890"
java.lang.AssertionError: Expected: "XHTML Test Page" got: ""
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at org.openqa.selenium.FrameSwitchingTest.testShouldFocusOnTheReplacementWhenAFrameFollowsALinkToA_TopTargettedPage(FrameSwitchingTest.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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)

Users with the same issue

16 times, 2 days ago
Once, 4 days ago
2 times, 1 month ago
3 times, 1 month ago
2 times, 1 month ago

Write tip

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