commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <nest...@yahoo.com>
Subject Re: [SCXML] ConcurrentModificationException
Date Sat, 17 Feb 2007 05:19:57 GMT
Hi Rahul,

I was going to answer it was going to be hard to
provide such a JUnit test case since this situation
was happening randomly ...

I found a bug in my program ... I forgot to
synchronize my data model caching and being a web
application when hit by several users it was possible
for the iterator to find an inconsistency when another
thread modified the collection while iterating.

I hope it will solve the problem. Jakarta Jmeter and
Eclipse together were the tools that help me figure
the problem out btw.

Thanks,

-Nestor

--- Rahul Akolkar <rahul.akolkar@gmail.com> wrote:

> On 2/15/07, Nestor Urquiza <nestoru@yahoo.com>
> wrote:
> > Hi guys,
> > Are any of you experiementing the below?
> >
> <snip/>
> 
> The trace is clear, the scenario is not. Can you
> please provide the
> smallest complete JUnit test case that reproduces
> this? Thanks!
> 
> -Rahul
> 
> 
> 
> > java.util.ConcurrentModificationException
> >         at
> >
>
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
> >         at
> >
>
java.util.AbstractList$Itr.next(AbstractList.java:419)
> >         at
> >
>
org.apache.commons.scxml.SCXMLHelper.cloneDatamodel(SCXMLHelper.java:441)
> >         at
> >
>
org.apache.commons.scxml.SCXMLExecutor.reset(SCXMLExecutor.java:223)
> >         at
> >
>
org.apache.commons.scxml.SCXMLExecutor.go(SCXMLExecutor.java:341)
> >
> > Thanks,
> >
> > -Nestor
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> 
> 



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message