« Return to Thread: GlazedList 1.7 ConcurrentModificationException with PieChartExample

Re: GlazedList 1.7 ConcurrentModificationException with PieChartExample

by tmulle :: Rate this Message:

Reply to Author | View in Thread

Hi James,

I just tried the latest jar and still same thing... just letting you know..

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at ca.odell.glazedlists.event.SequenceDependenciesEventPublisher.fireEvent(SequenceDependenciesEventPublisher.java:310)
        at ca.odell.glazedlists.event.ListEventAssembler$ListSequencePublisherAdapter.fireEvent(ListEventAssembler.java:767)
        at ca.odell.glazedlists.event.ListEventAssembler$AssemblerHelper.commitEvent(ListEventAssembler.java:416)
        at ca.odell.glazedlists.event.ListEventAssembler.commitEvent(ListEventAssembler.java:249)
        at ca.odell.glazedlists.impl.gui.ThreadProxyEventList$UpdateRunner.run(ThreadProxyEventList.java:226)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
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:352)
        at ca.odell.glazedlists.event.ListEventAssembler$ListSequencePublisherAdapter.fireEvent(ListEventAssembler.java:767)
        at ca.odell.glazedlists.event.ListEventAssembler$AssemblerHelper.commitEvent(ListEventAssembler.java:416)
        at ca.odell.glazedlists.event.ListEventAssembler.commitEvent(ListEventAssembler.java:249)
        at ca.odell.glazedlists.BasicEventList.set(BasicEventList.java:210)
        at PieChartExample.main(PieChartExample.java:112)


James Lemieux wrote:
Tim,

   I'm uncertain about the cause of the exception from GL 1.7, but I'd
recommend moving up to the latest nightly build, which has no problems with
the PIeChartExample. It can be found here:

https://glazedlists.dev.java.net/servlets/ProjectDocumentList?folderID=3916&expandFolder=3916&folderID=0

Sorry about that,

James

On Thu, Aug 14, 2008 at 1:27 PM, tmulle <tmulle@gmail.com> wrote:

>
> 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
>
> --
> View this message in context:
> http://www.nabble.com/GlazedList-1.7-ConcurrentModificationException-with-PieChartExample-tp18989070p18989070.html
> Sent from the GlazedLists - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@glazedlists.dev.java.net
> For additional commands, e-mail: dev-help@glazedlists.dev.java.net
>
>

 « Return to Thread: GlazedList 1.7 ConcurrentModificationException with PieChartExample