junit.framework.ComparisonFailure: expected:<[B1B2]> but was:<[]>

Google Groups | Andreas Reichel | 4 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

    Re: Timestamp vs. Java Date/Timestamp

    Google Groups | 4 years ago | Andreas Reichel
    junit.framework.ComparisonFailure: expected:<[B1B2]> but was:<[]>

    Root Cause Analysis

    1. junit.framework.ComparisonFailure

      expected:<[B1B2]> but was:<[]>

      at org.postgresql.test.jdbc4.XmlTest.transform()
    2. org.postgresql.test
      XmlTest.testStreamRead
      1. org.postgresql.test.jdbc4.XmlTest.transform(XmlTest.java:119)
      2. org.postgresql.test.jdbc4.XmlTest.testRead(XmlTest.java:135)
      3. org.postgresql.test.jdbc4.XmlTest.testStreamRead(XmlTest.java:157)
      3 frames