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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via htmlunit by dxavier
, 1 year ago
expected:<[false, , true, [, false, , true, checked, false, checked, true, checked, true, checked, false, checked], true, checked]> but was:<[false, , true, [checked, false, , true, checked, false, , true, checked, true, checked, false, ], true, checked]>
via htmlunit by illicitonion
, 1 year ago
expected:<[[1<>5, 5<>2, 1<>2, 5<>1, 2<>1, 1<>1, 5<>9]]> but was:<[[5<>1, 2<>5, 2<>5, 2<>1, 1<>2, 1<>1, 9<>2, 9<>5]]>
via GitHub by jitsni
, 10 months ago
Specified behavior did not match expected:<...ected write "Hello" [read "Hello" write "Goodbye" read "Goodbye" close closed] > but was:<...ected write "Hello" [] >
via gossamer-threads.com by Unknown author, 2 years ago
expected:<[dis]abled> but was:<[en]abled> at __randomizedtesting.SeedInfo.seed([324DD76FF7F9FB57:95096FCB9A42E8EE]:0)
via GitHub by jtaylor-sfdc
, 2 years ago
expected:<\u0192[é]> but was:<\u0192[]>
via GitHub by eitan101
, 1 year ago
TomcatServer faild on iteration 3331 expected:<[testGet]> but was:<[]>
org.junit.ComparisonFailure: expected:<[false, , true, [, false, , true, checked, false, checked, true, checked, true, checked, false, checked], true, checked]> but was:<[false, , true, [checked, false, , true, checked, false, , true, checked, true, checked, false, ], true, checked]>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.gargoylesoftware.htmlunit.WebTestCase.assertEquals(WebTestCase.java:339)
at com.gargoylesoftware.htmlunit.WebTestCase.assertEquals(WebTestCase.java:326)
at com.gargoylesoftware.htmlunit.WebDriverTestCase.verifyAlerts(WebDriverTestCase.java:770)
at com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:739)
at com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:697)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at com.gargoylesoftware.htmlunit.runners.BrowserStatement.evaluateSolo(BrowserStatement.java:76)
at com.gargoylesoftware.htmlunit.runners.BrowserStatement.evaluate(BrowserStatement.java:51)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

Users with the same issue

Once, 2 months ago
59 times, 5 months ago
Once, 2 months ago
7 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.