Re: ConcurrentModificationException DefaulUnitOfWork.class

2015-06-02 Thread Claus Ibsen
Hi

What version of Camel do you use? And can you tell us a bit more about
which camel endpoints you use in the poll enricher?

On Mon, Jun 1, 2015 at 4:36 PM, s.lefort s.lef...@artis.fr wrote:
 Hi,

 An error occurs in the class DefaulUnitOfWork. On line 216 (it.remove) throw
 this error because
 the variable synchronizations is empty.





 This variable is cleared on method stop() called on AsyncTask. Sometimes
 this method is called before end handoverSynchronization

 Do you know this error ?

 I fixed on putting synchronized on two methods (like
 removeSynchronization, etc..)

 Regards (sorry for my english)
 Steve



 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/ConcurrentModificationException-DefaulUnitOfWork-class-tp5767739.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/


ConcurrentModificationException DefaulUnitOfWork.class

2015-06-01 Thread s.lefort
Hi,

An error occurs in the class DefaulUnitOfWork. On line 216 (it.remove) throw
this error because
the variable synchronizations is empty. 





This variable is cleared on method stop() called on AsyncTask. Sometimes
this method is called before end handoverSynchronization

Do you know this error ?

I fixed on putting synchronized on two methods (like
removeSynchronization, etc..)

Regards (sorry for my english)
Steve



--
View this message in context: 
http://camel.465427.n5.nabble.com/ConcurrentModificationException-DefaulUnitOfWork-class-tp5767739.html
Sent from the Camel - Users mailing list archive at Nabble.com.