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]"

GitHub | btkatoutkm | 3 years ago
tip
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

    CodeListInterceptorTest fails on jdk1.8

    GitHub | 3 years ago | btkatoutkm
    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]"
  2. 0

    ElTest#test03_New_Line is failed on the Chrome(37.0.2062.120)

    GitHub | 3 years ago | kazuki43zoo
    java.lang.AssertionError: Expected: a string containing "<br>mvc" got: "<!DOCTYPE html><!--[if lt IE 7]> <html class=\"no-js lt-ie9 lt-ie8 lt-ie7\"> <![endif]--><!--[if IE 7]> <html class=\"no-js lt-ie9 lt-ie8\"> <![endif]--><!--[if IE 8]> <html class=\"no-js lt-ie9\"> <![endif]--><!--[if gt IE 8]><!--><html xmlns=\"http://www.w3.org/1999/xhtml\" class=\"no-js\"><!--<![endif]--><head>\n<meta charset=\"utf-8\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n<meta name=\"viewport\" content=\"width=device-width\" />\n\n<link rel=\"stylesheet\" href=\"/terasoluna-gfw-functionaltest-web/resources/app/css/style.css\" type=\"text/css\" media=\"screen, projection\" />\n<script type=\"text/javascript\" src=\"/terasoluna-gfw-functionaltest-web/resources/vendor/js/jquery-1.7.2.js\"></script>\n\n\n<title>terasoluna-gfw-functionaltest</title>\n</head>\n<body>\n <div class=\"wrapper\">\n \n\n\n\n\n\n\n\n\n\n<h1>\n <a href=\"/terasoluna-gfw-functionaltest-web\">terasoluna-gfw-functionaltest</a>\n</h1>\n\n \n\n\n\n\n\n\n\n\n\n <h2>New Line f:br()</h2>\n \n <form id=\"command\" action=\"/terasoluna-gfw-functionaltest-web/el/output_03\" method=\"post\">\n <span>Input Data</span><br />\n <textarea id=\"text-output\" name=\"outputData\"></textarea>\n <input id=\"btn-output\" class=\"mainbtn\" type=\"submit\" value=\"input\" />\n <input type=\"hidden\" name=\"_csrf\" value=\"1e5bcd69-9196-439f-8e93-017bb534fa37\" />\n</form>\n <br />\n\n <span>Output Data</span>\n <p id=\"newLineOutput\">Spring<br />mvc<br />spring mvc</p>\n\n <hr />\n <p style=\"text-align: center; background: #e5eCf9;\">Copyright\n © 2013 NTT DATA CORPORATION (X-Track:ed235f2f20774785b8b22fbf26ab32c1)</p>\n </div>\n\n\n</body></html>"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    tourreservation-domain JUnit test fails

    GitHub | 3 years ago | zaheernanji
    java.lang.AssertionError: Expected: is <158079600000L> got: <158092200000L>
  5. 0

    PR #45 introduced a failure

    GitHub | 2 years ago | alexsnaps
    java.lang.AssertionError: Expected: is <360> got: <1000>

    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. 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()
    2. JUnit
      Assert.assertThat
      1. org.junit.Assert.assertThat(Assert.java:778)
      2. org.junit.Assert.assertThat(Assert.java:736)
      2 frames
    3. org.terasoluna.gfw
      CodeListInterceptorTest.testAfterPropertiesSet_codeListIdPattern_is_notnull
      1. org.terasoluna.gfw.web.codelist.CodeListInterceptorTest.testAfterPropertiesSet_codeListIdPattern_is_notnull(CodeListInterceptorTest.java:287)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      5 frames
    6. Spring TestContext
      RunBeforeTestMethodCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
      1 frame
    7. JUnit
      RunAfters.evaluate
      1. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      1 frame
    8. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
      2. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
      3. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
      4. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
      4 frames
    9. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      5 frames
    10. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
      2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
      2 frames
    11. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      1 frame
    12. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
      1 frame
    13. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    14. 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:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames