java.lang.AssertionError: Expected: is "host1" but: was "/default-rack"

Spring JIRA | Janne Valkealahti | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    rexsl-test failure

    GitHub | 4 years ago | simonjenga
    java.lang.AssertionError: XPath '//y[.='\u0443\u0440\u0430!']' has to exist in: HTTP request: HTTP request body HTTP response (200): <x a='1'><!-- hi --><y>???!</y></x> Expected: not an empty collection but: was <ListWrapper(original=[], dom=[x: null], xpath=//y[.='???!'])>
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    DataflowAssert doesn't pass TableRow test

    Stack Overflow | 2 years ago | Jorge Z
    java.lang.AssertionError: Expected: iterable over [<{id=x}>] in any order but: Not matched: <{id=x}>

  1. marcbouvierdav 6 times, last 1 week ago
  2. rsprangemeijer 1 times, last 1 week ago
  3. olle.hallin 1 times, last 2 weeks ago
  4. aldrinleal 2 times, last 1 month ago
  5. Adrien 15 times, last 2 months ago
7 more registered users
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    Expected: is "host1" but: was "/default-rack"

    at org.hamcrest.MatcherAssert.assertThat()
  2. Hamcrest
    MatcherAssert.assertThat
    1. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    1 frame