java.lang.AssertionError: Expected: is "[org.terasoluna.gfw.common.codelist.i18n.SimpleI18nCodeList@3704122f, org.terasoluna.gfw.common.codelist.NumberRangeCodeList@7577b641, org.terasoluna.gfw.common.codelist.SimpleMapCodeList@2fa7ae9]" got: "[org.terasoluna.gfw.common.codelist.SimpleMapCodeList@2fa7ae9, org.terasoluna.gfw.common.codelist.NumberRangeCodeList@7577b641, org.terasoluna.gfw.common.codelist.i18n.SimpleI18nCodeList@3704122f]"

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 GitHub by btkatoutkm
, 1 year ago
Expected: is "[org.terasoluna.gfw.common.codelist.i18n.SimpleI18nCodeList@3704122f, org.terasoluna.gfw.common.codelist.NumberRangeCodeList@7577b641, org.terasoluna.gfw.common.codelist.SimpleMapCodeList@2fa7ae9]" got
via GitHub by EdorianDark
, 2 years ago
Expected: is <[/path/to/libraries, /path/to/more/libraries]> got: <[/path/to/libraries:/path/to/more/libraries]>
via GitHub by aslakhellesoy
, 2 years ago
Expected: a string containing "index.html" got: ""
via Stack Overflow by user7788722
, 7 months ago
Expected: iterable containing [<["foo", "bar"]>] got: <[foo, bar]>
via Google Groups by Tyler Schultz, 4 months ago
Expected: <1> got: <0>
java.lang.AssertionError: Expected: is "[org.terasoluna.gfw.common.codelist.i18n.SimpleI18nCodeList@3704122f, org.terasoluna.gfw.common.codelist.NumberRangeCodeList@7577b641, org.terasoluna.gfw.common.codelist.SimpleMapCodeList@2fa7ae9]" got: "[org.terasoluna.gfw.common.codelist.SimpleMapCodeList@2fa7ae9, org.terasoluna.gfw.common.codelist.NumberRangeCodeList@7577b641, org.terasoluna.gfw.common.codelist.i18n.SimpleI18nCodeList@3704122f]"
at org.junit.Assert.assertThat(Assert.java:778)
at org.junit.Assert.assertThat(Assert.java:736)
at org.terasoluna.gfw.web.codelist.CodeListInterceptorTest.testAfterPropertiesSet_codeListIdPattern_is_notnull(CodeListInterceptorTest.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

Users with the same issue

6 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago

Write tip

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