GlazedList 1.7 ConcurrentModificationException with PieChartExample
Hi,
I just downloaded the GlazedList 1.7 jar for 1.5+ and tried to simply run the PieChartExample demo from the screencast and immediately got the exception below:
Exception in thread "main" java.util.ConcurrentModificationException
at java.util.IdentityHashMap$IdentityHashMapIterator.nextIndex(IdentityHashMap.java:711)
at java.util.IdentityHashMap$EntryIterator.next(IdentityHashMap.java:819)
at java.util.IdentityHashMap$EntryIterator.next(IdentityHashMap.java:814)
at ca.odell.glazedlists.event.SequenceDependenciesEventPublisher.fireEvent(SequenceDependenciesEventPublisher.java:342)
at ca.odell.glazedlists.event.ListEventAssembler$ListSequencePublisherAdapter.fireEvent(ListEventAssembler.java:855)
at ca.odell.glazedlists.event.ListEventAssembler$AssemblerHelper.commitEvent(ListEventAssembler.java:389)
at ca.odell.glazedlists.event.ListEventAssembler.commitEvent(ListEventAssembler.java:226)
at ca.odell.glazedlists.BasicEventList.set(BasicEventList.java:190)
at ca.odell.glazedlists.impl.EventListIterator.set(EventListIterator.java:169)
at PieChartExample.main(PieChartExample.java:101)
I tried changing the code in the main function that modifies the original "idols" list to using the "swingEDTIdolsList" and still same issue..
Any ideas?
- Tim