org.junit.ComparisonFailure: expected:<Sun Nov 09 00:00:00 [CET] 2014> but was:<Sun Nov 09 00:00:00 [UTC] 2014>

poi-dev | Apache Jenkins Server | 1 year 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

    Build failed in Jenkins: POI-JDK8 #659

    poi-dev | 1 year ago | Apache Jenkins Server
    org.junit.ComparisonFailure: expected:<Sun Nov 09 00:00:00 [CET] 2014> but was:<Sun Nov 09 00:00:00 [UTC] 2014>
  2. 0

    Build failed in Jenkins: POI-JDK8 #659

    poi-dev | 1 year ago | Apache Jenkins Server
    org.junit.ComparisonFailure: expected:<Sun Nov 09 00:00:00 [CET] 2014> but was:<Sun Nov 09 00:00:00 [UTC] 2014>
  3. 0

    AlertingTest failing in json comparison

    GitHub | 3 years ago | sammefford
    org.junit.ComparisonFailure: expected:<...ule-metadata":null}}[]> but was:<...ule-metadata":null}}[ ]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running the tests, deploying to an internal maven, & updating versions

    GitHub | 2 years ago | jtruelove
    org.junit.ComparisonFailure: expected:<[error]> but was:<[ok]>
  6. 0

    Cookies tests are flaky

    GitHub | 3 years ago | seato
    org.junit.ComparisonFailure: expected:<[GM]20527.group.on> but was:<[gm]20527.group.on>

  1. jf-ast 3 times, last 1 week ago
  2. Casper 1 times, last 2 weeks ago
  3. Dunmer 74 times, last 3 weeks ago
  4. Brian Oxley 7 times, last 3 weeks ago
  5. iferca 2 times, last 1 month ago
8 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:<Sun Nov 09 00:00:00 [CET] 2014> but was:<Sun Nov 09 00:00:00 [UTC] 2014>

    at org.junit.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:115)
    2. org.junit.Assert.assertEquals(Assert.java:144)
    2 frames
  3. Apache POI
    TestXSSFWorkbook.testBug56957CloseWorkbook
    1. org.apache.poi.xssf.usermodel.TestXSSFWorkbook.testBug56957CloseWorkbook(TestXSSFWorkbook.java:1053)
    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
    JUnitCore.run
    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.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    14. org.junit.runners.Suite.runChild(Suite.java:128)
    15. org.junit.runners.Suite.runChild(Suite.java:27)
    16. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    17. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    18. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    19. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    20. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    21. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    22. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    23. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
    24. org.junit.runner.JUnitCore.run(JUnitCore.java:105)
    25. org.junit.runner.JUnitCore.run(JUnitCore.java:94)
    25 frames
  6. POI
    OOXMLLite.main
    1. org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:103)
    2. org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:86)
    2 frames