org.junit.ComparisonFailure: expected:<[/tmp/]x.jar> but was:<[C:\tmp\]x.jar>

Jenkins JIRA | ikedam | 3 years ago
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

    Apply fix to SturcturedQueryBuilderTest to b2_0

    GitHub | 3 years ago | sammefford
    org.junit.ComparisonFailure: expected:<...vices/search" xmlns:[y="" xmlns:x="roo]" xmlns:xsi="ht...> but was:<...vices/search" xmlns:[x="" xmlns:y="targe]" xmlns:xsi="ht...>
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Default test suit has undeterministic behaviour on win8 + JDK7

    GitHub | 5 years ago | mrlogan
    org.junit.ComparisonFailure: expected:<before [apple after before banana] after afterAll > but was:<before [banana after before apple] after afterAll >
  4. 0

    Multi-byte character support not working on Mac

    GitHub | 4 years ago | jtaylor-sfdc
    org.junit.ComparisonFailure: expected:<\u0192[é]> but was:<\u0192[]>

  1. mauritius 7 times, last 4 days ago
  2. osvzs 2 times, last 6 hours ago
  3. bernardpaulus 3 times, last 3 days ago
  4. odd 12 times, last 3 weeks ago
  5. jf-ast 1 times, last 4 weeks ago
12 more registered users
7 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. org.junit.ComparisonFailure

    expected:<[/tmp/]x.jar> but was:<[C:\tmp\]x.jar>

    at org.junit.Assert.assertEquals()
  2. JUnit
    1. org.junit.Assert.assertEquals(
    2. org.junit.Assert.assertEquals(
    2 frames
  3. org.jenkinsci.plugins
    1. org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntryTest.assertRoundTrip(
    2. org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntryTest.pathURLConversion(
    2 frames