junit.framework.AssertionFailedError: expected:<?> but was:<?>

poi-dev | avik.sengupta@itellix.com | 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

    Re: HPSF Testcase on HEAD

    poi-dev | 1 decade ago | avik.sengupta@itellix.com
    junit.framework.AssertionFailedError: expected:<?> but was:<?>
  2. 0

    HPSF Testcase on HEAD

    poi-dev | 1 decade ago | avik.sengupta@itellix.com
    junit.framework.AssertionFailedError: expected:<&#65533;> but was:<?>
  3. 0

    Re: HPSF Testcase on HEAD

    poi-dev | 1 decade ago | avik.sengupta@itellix.com
    junit.framework.AssertionFailedError: expected:<?> but was:<?>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Confusion about column types in dbunit and creating dtd for datasets

    Stack Overflow | 6 years ago | jimgardener
    junit.framework.AssertionFailedError: expected:&lt;org.dbunit.dataset.DefaultTable@12d8ecd&gt; but was:&lt;org.dbunit.database.CachedResultSetTable@1fa5e5e&gt;
  6. 0

    Unit testing for EditTextView. How do I do it?

    Stack Overflow | 5 years ago | Hick
    junit.framework.AssertionFailedError: expected:&lt;hello&gt; but was:&lt;&gt;

  1. tzrlk 2 times, last 6 months ago
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. junit.framework.AssertionFailedError

    expected:<?> but was:<?>

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.failNotEquals(Assert.java:282)
    3. junit.framework.Assert.assertEquals(Assert.java:64)
    4. junit.framework.Assert.assertEquals(Assert.java:71)
    4 frames
  3. org.apache.poi
    TestWrite.check
    1. org.apache.poi.hpsf.basic.TestWrite.check(TestWrite.java:555)
    1 frame