Project: Eclipse_Platform_UI
Bug 237884 [DataBinding] NPE in when disposing MultiValidator instance
Reported: 2008-06-20 03:05:14 | Status: verified fixed

Build ID: I20080502-0100 Steps To Reproduce: 1.Creating an instance of a subclass of MultiValidator e.g. MultiValidator myValidator = new MultiValidator() { validate() { return Status.OK; }} 2.Calling dispose before calling getValidationStatus() -> NPE in dispose() method (unmodifiableValidationStatus.dispose();) More information:

Files changed in fix:
bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/internal/databinding/observable/UnmodifiableObservableValue.java bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/validation/MultiValidator.java bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/observable/UnmodifiableObservableValue.java tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/databinding/validation/MultiValidatorTest.java