junit.framework.ComparisonFailure: expected:<08:00AM> but was:<??:00?>

joda | pconrad | 1 decade 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

    Problem formatting TimeOfDay Object

    joda | 1 decade ago | pconrad
    junit.framework.ComparisonFailure: expected:<08:00AM> but was:<??:00?>

    Root Cause Analysis

    1. junit.framework.ComparisonFailure

      expected:<08:00AM> but was:<??:00?>

      at TestTimeOfDay.testTimeOfDay()
    2. Unknown
      TestTimeOfDay.testTimeOfDay
      1. TestTimeOfDay.testTimeOfDay(TestTimeOfDay.java:32)
      1 frame
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames