Re: ConcurrenModificationException

2007-03-19 Thread Marcel Reutegger
Hi Martijn, Martijn Hendriks wrote: The second scenario that I sketched in my previous message is possible: I now can reproduce that values of an ItemStateReferenceMap are evicted by garbage collection during the iteration over that map in the LocalItemStateManager.dispose method (with

Re: ConcurrenModificationException

2007-03-17 Thread Martijn Hendriks
Hi, The second scenario that I sketched in my previous message is possible: I now can reproduce that values of an ItemStateReferenceMap are evicted by garbage collection during the iteration over that map in the LocalItemStateManager.dispose method (with Jackrabbit 1.2.1). On my local system,

ConcurrenModificationException

2007-03-16 Thread Martijn Hendriks
Hi, We regularly get the following exception, and I have currently no idea what can cause this. It might be something in our own application that is built upon Jackrabbit, but I don't know that for sure. java.util.ConcurrentModificationException at

Re: ConcurrenModificationException

2007-03-16 Thread Marcel Reutegger
Hi Martijn, can you please create a jira issue report and provide relevant information like the exact jackrabbit version you are using. thanks. regards marcel Martijn Hendriks wrote: Hi, We regularly get the following exception, and I have currently no idea what can cause this. It might

Re: ConcurrenModificationException

2007-03-16 Thread Martijn Hendriks
Hi Marcel, I am a bit reluctant on creating a JIRA issue because I don't know yet whether we are misusing jackrabbit (1.2.1) or not. I thought of two possible scenarios that might trigger the exception. The first scenario is two threads closing the same session. We create a new session for each