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

Spring JIRA | Janne Valkealahti | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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}>
  4. 0

    GitHub comment 5590#30294436

    GitHub | 3 years ago | wildfly-ci
    java.lang.AssertionError: Expected: a string containing "JBAS010881: There is already a deployment called simple1 with the same runtime name SimpleServlet.war on server group main-server-group" but: was "{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS018785: There is already a deployment called simple1 with the same runtime name SimpleServlet.war"}}}} "

  1. bernardpaulus 7 times, last 7 days ago
  2. ivanszkypeter 6 times, last 1 week ago
  3. rsprangemeijer 1 times, last 1 week ago
  4. marcbouvierdav 1 times, last 2 weeks ago
  5. olle.hallin 1 times, last 3 weeks ago
10 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