java.lang.AssertionError: The attachement size should be 0 expected:<0> but was:<2>

camel-dev | Christian Müller | 3 years ago
  1. 0

    Re: git commit: CAMEL-7181 Propagate the attachments information when the CXF endpoint is POJO without enabling the MTOM

    camel-dev | 3 years ago | Christian Müller
    java.lang.AssertionError: The attachement size should be 0 expected:<0> but was:<2>
  2. 0

    ExtensionLibrariesTest failed to install module

    GitHub | 2 years ago | sammefford
    java.lang.AssertionError: number of modules installed expected:<0> but was:<1>
  3. 0

    QueryByExampleTest failing on -1 from getTotalSize()

    GitHub | 2 years ago | sammefford
    java.lang.AssertionError: No XML documents should have matched expected:<-1> but was:<0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BinaryDocumentTest read wrong number of bytes

    GitHub | 2 years ago | sammefford
    java.lang.AssertionError: Binary range read wrong number of bytes expected:<10> but was:<11>
  6. 0

    getPageNumber() of PojoPage method returns me Junk number when there are no results

    GitHub | 2 years ago | sravanr
    java.lang.AssertionError: page number after the loop expected:<0> but was:<-9223372036854775808>

  1. davidvanlaatum 1 times, last 1 week ago
  2. andyglick 9 times, last 8 months ago
  3. WoodenDoors 3 times, last 8 months ago
  4. davidvanlaatum 103 times, last 9 months ago
32 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. java.lang.AssertionError

    The attachement size should be 0 expected:<0> but was:<2>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:743)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    4. org.junit.Assert.assertEquals(Assert.java:555)
    4 frames
  3. org.apache.camel
    CxfMtomPOJOProducerTest.testInvokingServiceFromCxfProducer
    1. org.apache.camel.component.cxf.mtom.CxfMtomPOJOProducerTest.testInvokingServiceFromCxfProducer(CxfMtomPOJOProducerTest.java:91)
    1 frame