camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Reason why Mockendpoint generates an IndexOutOfBoundsException error ?
Date Wed, 14 Jan 2009 10:04:04 GMT

Hi,

Can someone tell me why MockEndpoint generates the following error when
executing the method 'assertIsSatisfied()' ?

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
	at java.util.ArrayList.get(ArrayList.java:321)
	at
org.apache.camel.component.mock.MockEndpoint$3.run(MockEndpoint.java:344)
	at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:251)
	at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
	at
org.apache.camel.bindy.csv.BindyCSVMarshallTest.testMarshallMessage(BindyCSVMarshallTest.java:53)



-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://www.nabble.com/Reason-why-Mockendpoint-generates-an-IndexOutOfBoundsException-error---tp21453025s22882p21453025.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message