[jdom-interest] ConcurrentModificationException

Jason Hunter jhunter at acm.org
Thu Mar 7 22:17:01 PST 2002


To help you please send in:

The full stack trace
Whether this happens sometimes or always
If the app is multithreaded or not
What was happening when the exception was thrown (simple walk, removals,
etc?)
A simple reproducible test case (a test case means we can surely fix it,
no test case means we might be able to fix it)

-jh-

"David D. Lucas" wrote:
> 
> java.util.ConcurrentModificationException
>          at
> org.jdom.ContentList$FilterListIterator.checkConcurrentModification(ContentList.java:1204)
>          at
> org.jdom.ContentList$FilterListIterator.hasNext(ContentList.java:926)
>          at
> 
> blah, blah, blah
> 
> I do not have time to verify the logic on the expected versus modified,
> but I have run the code under JDOM 1.0 b7 without any problems between
> multiple threads.  Will there be a flag or property to turn this check off?
> 
> I believe the expected is not being properly accounted for when things
> are added or removed either directly or through an iterator.
> 
> I need this fix with the release of Beta 8 or I will never be able to
> move forward.
> 
> Thanks,
> Dave
> 
> <Remote assignment="yes" />
> 
> +------------------------------------------------------------+
> | David Lucas                        mailto:ddlucas at lse.com  |
> | Lucas Software Engineering, Inc.   (740) 964-6248 Voice    |
> | Unix,Java,C++,CORBA,XML            (614) 668-4020 Mobile   |
> | Middleware,Frameworks              (888) 866-4728 Fax      |
> +------------------------------------------------------------+
> | GPS Location:      40 deg 00' 51" N,  82 deg 38' 11" W     |
> | IMHC: "Jesus Christ is the way, the truth, and the life."  |
> | IMHC: "I know where I am; I know where I'm going."    <><  |
> +------------------------------------------------------------+
> 
> Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
> IMHO="in my humble opinion" IMHC="in my humble conviction"
> All trademarks above are those of their respective owners.
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list