Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException in FastClonerHashMap #1

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments
Closed

ConcurrentModificationException in FastClonerHashMap #1

GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

While using cloning-1.7.4 or cloning-1.7.5-SNAPSHOT (from today's trunk), I am 
getting a ConcurrentModificationException error. If I change the execution 
timing of my code by enabling some logging, I do not generally get the 
exception. My application utilizes a single Cloner instance, and calls it very 
rapidly, however, not from multiple threads.

The full exception stack is below, minus the calls from my application:
java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
    at java.util.HashMap$EntryIterator.next(HashMap.java:834)
    at java.util.HashMap$EntryIterator.next(HashMap.java:832)
    at com.rits.cloning.FastClonerHashMap.clone(com.rits.cloning.FastClonerHashMap:20)
    at com.rits.cloning.Cloner.fastClone(com.rits.cloning.Cloner:96)
    at com.rits.cloning.Cloner.cloneInternal(com.rits.cloning.Cloner:360)
    at com.rits.cloning.Cloner.cloneInternal(com.rits.cloning.Cloner:409)
    at com.rits.cloning.Cloner.cloneInternal(com.rits.cloning.Cloner:409)
    at com.rits.cloning.Cloner.deepClone(com.rits.cloning.Cloner:309)

If my inquiry should be going to a mailing list instead, please let me know. I 
looked briefly but I didn't see one off hand.

Thanks,

Greg

Original issue reported on code.google.com by ghasse...@gmail.com on 7 Mar 2011 at 9:02

@GoogleCodeExporter
Copy link
Author

This issue can be closed. I was able to track the cause of this issue down to a 
concurrency issue in my application.

Thanks,

Greg

Original comment by ghasse...@gmail.com on 17 Mar 2011 at 4:34

@GoogleCodeExporter
Copy link
Author

Hi, just saw your entry, will close the issue

Original comment by kostas.k...@googlemail.com on 13 Apr 2011 at 7:40

@GoogleCodeExporter
Copy link
Author

Original comment by kostas.k...@googlemail.com on 13 Apr 2011 at 7:41

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant