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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check your pattern declaration or check your assert declaration.

Solutions on the web

via camel-dev by Christian Müller, 1 year ago
via osdir.com by Unknown author, 2 years ago
There should be one document because overwrite=true expected:<1> but was:<0> at __randomizedtesting.SeedInfo.seed([573006190B77DDC9:DF6439C3A58BB031]:0)
java.lang.AssertionError: The attachement size should be 0 expected:<0> but was:<2>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.apache.camel.component.cxf.mtom.CxfMtomPOJOProducerTest.testInvokingServiceFromCxfProducer(CxfMtomPOJOProducerTest.java:91)

Users with the same issue

3 times, 10 months ago
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
14 times, 1 month ago
3 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.