IllegalArgumentException in WeakReferenceProxy

View: New views
1 Messages — Rating Filter:   Alert me  

IllegalArgumentException in WeakReferenceProxy

by rostyc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Out of nowhere I got the following exception in glazedlists. The source code where this occurred has been running for many months without any modifications. What could be causing this? Also, why does a simple EventList change notification causes removal of list event listeners? Application has lots of free heap space.
GlazedLists: 1.7.0
Java: 1.6.0 06
OS: Linux 2.6.18 #8 SMP PREEMPT x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Rosty.

java.lang.IllegalArgumentException: Cannot remove nonexistent listener ca.odell.glazedlists.impl.WeakReferenceProxy@298427f9
        at ca.odell.glazedlists.event.SequenceDependenciesEventPublisher.updateListEventListeners(SequenceDependenciesEventPublisher.java:213)
        at ca.odell.glazedlists.event.SequenceDependenciesEventPublisher.removeListener(SequenceDependenciesEventPublisher.java:176)
        at ca.odell.glazedlists.event.ListEventAssembler$ListSequencePublisherAdapter.removeListEventListener(ListEventAssembler.java:839)
        at ca.odell.glazedlists.event.ListEventAssembler.removeListEventListener(ListEventAssembler.java:262)
        at ca.odell.glazedlists.AbstractEventList.removeListEventListener(AbstractEventList.java:76)
        at ca.odell.glazedlists.impl.WeakReferenceProxy.listChanged(WeakReferenceProxy.java:84)
        at ca.odell.glazedlists.event.ListEventAssembler$ListSequencePublisherAdapter$ListEventFormat.fire(ListEventAssembler.java:869)
        at ca.odell.glazedlists.event.ListEventAssembler$ListSequencePublisherAdapter$ListEventFormat.fire(ListEventAssembler.java:861)
        at ca.odell.glazedlists.event.SequenceDependenciesEventPublisher$SubjectAndListener.firePendingEvent(SequenceDependenciesEventPublisher.java\
:435)
        at ca.odell.glazedlists.event.SequenceDependenciesEventPublisher.fireEvent(SequenceDependenciesEventPublisher.java:334)
        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)