Community
Participate
Working Groups
Build ID: I20070625-1500 Steps To Reproduce: Simple case: new ComputedValue() { final IObservableValue name = BeansObservables.observeValue(dto, "name"); //$NON-NLS-1$ @Override protected Object calculate() { return name.getValue() != null; } }; More information: When ComputedValue recalculates the value, it calls the makeDirty() and then stopListening() methods which, in turn, may result in call to lastListenerRemoved() (if there are no other listeners attached) in the JavaBeanObservableValue class, causing listenerSupport.dispose() call. From now on, adding new listeners (which happens next during the calculate call) will cause NullPointerException.
Should be easy to fix. 3.3.1 candidate?
Created attachment 75999 [details] patch
Adding contributed keyword (for the test case)
Patch released >20070813.
(In reply to comment #1) > Should be easy to fix. 3.3.1 candidate? > +1 Sorry man, I'm really behind.
Verified in M20070905-1045.