org.junit.ComparisonFailure: expected:<[9]> but was:<[NaN]>

GitHub | zheins | 5 months ago
  1. 0

    GitHub comment 1415#229457186

    GitHub | 5 months ago | zheins
    org.junit.ComparisonFailure: expected:<[9]> but was:<[NaN]>
  2. 0

    Test failure in Windows 7: ConfigTest.testGetDir()

    GitHub | 5 years ago | martincastell
    org.junit.ComparisonFailure: expected:<target[/]indexes> but was:<target[\]indexes>
  3. 0

    CustomerRegisterValidateTest#testCustomerRegisterRequiredValidate is failed when locale is English(en).

    GitHub | 3 years ago | kazuki43zoo
    org.junit.ComparisonFailure: expected:<Job [ ]is required.> but was:<Job []is required.>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2 tests failing on Mac build, not in Travis (Linux)

    GitHub | 3 years ago | nimeacuerdo
    org.junit.ComparisonFailure: expected:<...atrixColorFilter<1,0[,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,]0>> but was:<...atrixColorFilter<1,0[0,0,00,0,00,0,00,0,00,0,00,1,00,0,00,0,00, 0,00,0,00,0,00,1,00,0,00,0,00,0,00,0,00,0,00,1,00,0,0]0>>
  6. 0

    FNFileTest fails (on Mac OS X)

    GitHub | 6 years ago | hhverweij
    org.junit.ComparisonFailure: expected:&lt;/[private/]var/folders/9l/9loui...&gt; but was:&lt;/[]var/folders/9l/9loui...&gt;

    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:<[9]> but was:<[NaN]>

      at org.junit.Assert.assertEquals()
    2. JUnit
      Assert.assertEquals
      1. org.junit.Assert.assertEquals(Assert.java:123)
      2. org.junit.Assert.assertEquals(Assert.java:145)
      2 frames