org.junit.ComparisonFailure: expected:<[false, , false, [, true, checked, true, checked, true, checked, true, checked]]> but was:<[false, , false, [checked, true, checked, true, , true, checked, true, ]]>

htmlunit | dxavier | 10 months ago
  1. 0

    HtmlCheckBoxInput, HtmlRadioButton and HtmlOption's checked attributes are not reflected

    htmlunit | 10 months ago | dxavier
    org.junit.ComparisonFailure: expected:<[false, , false, [, true, checked, true, checked, true, checked, true, checked]]> but was:<[false, , false, [checked, true, checked, true, , true, checked, true, ]]>
  2. 0

    HandleAccessorTest failing in maven

    GitHub | 2 years ago | sammefford
    org.junit.ComparisonFailure: byte[] content mismatch expected:<[ยก]Hola!> but was:<[?]Hola!>
  3. 0

    gateway.transport.wsn: IdleTimeoutExtensionPongsIT.shouldGetPongsFromidleTimeoutExtensionWhenWriterIdle spurious failures

    GitHub | 2 years ago | dpwspoon
    org.junit.ComparisonFailure: Robotic behavior did not match expected expected:<... (frequent enough) [write await SLEEP_ONE write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] write await SLEEP_TWO write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] write await SLEEP_THREE write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] write await SLEEP_FOUR write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] write await SLEEP_FIVE write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] write await SLEEP_SIX write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] write await SLEEP_SEVEN write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] write await SLEEP_EIGHT write [0x81 0x83 0x01 0x01 0x01 0x01 0x30 0x33 0x32] # Expect (extension) PONG read [0x81 0x06 0x01 0x01 0x01 0x02 0x0a 0x00] # Do clean close write [0x88 0x00] read [0x88 0x00] close closed # Connection from back end of proxy service # ========================================= accept tcp://127.0.0.1:8002 accepted connected # read 8 "abc" frames read [0x31 0x32 0x33] read [0x31 0x32 0x33] read [0x31 0x32 0x33] read [0x31 0x32 0x33] read [0x31 0x32 0x33] read [0x31 0x32 0x33] read [0x31 0x32 0x33] read [0x31 0x32 0x33] closed # Connect to ServerSocket in test method to read period data to simulate SLEEP # ============================================================================ connect tcp://localhost:61234 connected read "WakeUp1" read notify SLEEP_ONE read "WakeUp2" read notify SLEEP_TWO read "WakeUp3" read notify SLEEP_THREE read "WakeUp4" read notify SLEEP_FOUR read "WakeUp5" read notify SLEEP_FIVE read "WakeUp6" read notify SLEEP_SIX read "WakeUp7" read notify SLEEP_SEVEN read "WakeUp8" read notify SLEEP_EIGHT close closed] > but was:<... (frequent enough) [[id: 0xff0937ae, /127.0.0.1:60170 => /127.0.0.1:8001] RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=8, cap=8) +-------------------------------------------------+ | 0 1 2 3 4 5 6 7 8 9 a b c d e f | +--------+-------------------------------------------------+----------------+ |00000000| 81 06 01 01 01 02 09 00 |........ | +--------+-------------------------------------------------+----------------+ # Connection from back end of proxy service # ========================================= accept tcp://127.0.0.1:8002 accepted connected # read 8 "abc" frames [id: 0x7a23f384, /127.0.0.1:37075 :> /127.0.0.1:8002] DISCONNECTED # Connect to ServerSocket in test method to read period data to simulate SLEEP # ============================================================================ connect tcp://localhost:61234 [id: 0xb2327577] CLOSED] >
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ULongTest.java is locale-dependent

    GitHub | 2 years ago | mreithub
    org.junit.ComparisonFailure: Wrong string value expected:<9[,223,372,036,854,775,]808> but was:<9[.223.372.036.854.775.]808>
  6. 0

    Build is environment dependent - take 2 - failing tests

    GitHub | 3 years ago | ieugen
    org.junit.ComparisonFailure: Actual does not match expected. expected:<...mple.model.Order> [ <header> <orderId>1</orderId> <orderStatus>0</orderStatus> <netAmount>59.97</netAmount> <totalAmount>64.92</totalAmount> <tax>4.95</tax> <customer> <userName>user1</userName> <firstName>Harry</firstName> <lastName>Fletcher</lastName> <state>SD</state> </customer> </header> <orderItems> <example.model.OrderItem> <quantity>1</quantity> <productId>364</productId> <price>29.98</price> <title>The 40-Year-Old Virgin</title> </example.model.OrderItem> <example.model.OrderItem> <quantity>1</quantity> <productId>299</productId> <price>29.99</price> <title>Pulp Fiction</title> </example.model.OrderItem> ] </orderItems> </ex...> but was:<...mple.model.Order> [<header> <orderId>1</orderId> <orderStatus>0</orderStatus> <netAmount>59.97</netAmount> <totalAmount>64.92</totalAmount> <tax>4.95</tax> <date>2006-11-15 18:45:28.0 UTC</date> <customer> <userName>user1</userName> <firstName>Harry</firstName> <lastName>Fletcher</lastName> <state>SD</state> </customer> </header> <orderItems> <example.model.OrderItem> <quantity>1</quantity> <productId>364</productId> <price>29.98</price> <title>The 40-Year-Old Virgin</title> </example.model.OrderItem> <example.model.OrderItem> <quantity>1</quantity> <productId>299</productId> <price>29.99</price> <title>Pulp Fiction</title> </example.model.OrderItem> ] </orderItems> </ex...>

  1. MoYapro 2 times, last 2 weeks ago
  2. richard77 2 times, last 3 weeks ago
  3. treefolk 2 times, last 3 weeks ago
  4. kjhdofjosvs 2 times, last 4 weeks ago
  5. r1chjames 3 times, last 1 month ago
2 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:<[false, , false, [, true, checked, true, checked, true, checked, true, checked]]> but was:<[false, , false, [checked, true, checked, true, , true, checked, true, ]]>

    at org.junit.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:115)
    1 frame
  3. HtmlUnit
    HtmlCheckBoxInput2Test.defaultCheckedAttribute
    1. com.gargoylesoftware.htmlunit.WebTestCase.assertEquals(WebTestCase.java:339)
    2. com.gargoylesoftware.htmlunit.WebTestCase.assertEquals(WebTestCase.java:326)
    3. com.gargoylesoftware.htmlunit.WebDriverTestCase.verifyAlerts(WebDriverTestCase.java:770)
    4. com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:739)
    5. com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:697)
    6. com.gargoylesoftware.htmlunit.html.HtmlCheckBoxInput2Test.defaultCheckedAttribute(HtmlCheckBoxInput2Test.java:953)
    6 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. JUnit
    RunAfters.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    6 frames
  6. HtmlUnit
    ErrorOutputChecker$1.evaluate
    1. com.gargoylesoftware.htmlunit.ErrorOutputChecker$1.evaluate(ErrorOutputChecker.java:56)
    1 frame
  7. JUnit
    RunRules.evaluate
    1. org.junit.rules.RunRules.evaluate(RunRules.java:20)
    1 frame
  8. com.gargoylesoftware.htmlunit
    BrowserStatement.evaluate
    1. com.gargoylesoftware.htmlunit.runners.BrowserStatement.evaluateSolo(BrowserStatement.java:76)
    2. com.gargoylesoftware.htmlunit.runners.BrowserStatement.evaluate(BrowserStatement.java:51)
    2 frames
  9. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    9. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    10. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    11. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    12. org.junit.runners.Suite.runChild(Suite.java:128)
    13. org.junit.runners.Suite.runChild(Suite.java:27)
    14. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    15. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    16. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    17. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    18. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    19. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    19 frames
  10. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    1 frame
  11. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    5 frames