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 DefaultClusteringRender #74

Closed
newmanw opened this issue Apr 3, 2014 · 1 comment
Closed

ConcurrentModificationException in DefaultClusteringRender #74

newmanw opened this issue Apr 3, 2014 · 1 comment

Comments

@newmanw
Copy link

newmanw commented Apr 3, 2014

I am getting a ConcurrentModificationException in the DefaultClusteringRender. This happens on line 383 (call to markersToRemove.removeAll):

        // Wait for all markers to be added.
        markerModifier.waitUntilFree();

        // Don't remove any markers that were just added. This is basically anything that had
        // a hit in the MarkerCache.
        markersToRemove.removeAll(newMarkers);

Not 100% sure what the root of this problem is. I.E. should that set be a 'ConcurrentSet' or am I doing something wrong. My guess as to what is happening is that I am performing add and deletes that could be happening on different threads. In which case I would think this is an issue with the Set in DefaultClusteringRender.

Thoughts?

@newmanw
Copy link
Author

newmanw commented Apr 4, 2014

sorry. This is a dup of #56.

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

No branches or pull requests

1 participant