Bug 237884 [DataBinding] NPE in when disposing MultiValidator instance
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:
bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/observable/UnmodifiableObservableValue.java
private IObservableValue wrappedValue;
	/**
	 * Constructs an UnmodifiableObservableValue which wraps the given
	 * observable value
	 * 
	 * @param wrappedValue
	 *            the observable value to wrap in an unmodifiable instance.
	 */
	public UnmodifiableObservableValue(IObservableValue wrappedValue) {
		super(wrappedValue.getRealm());
		this.wrappedValue = wrappedValue;
		wrappedValue.addValueChangeListener(new IValueChangeListener() {
			public void handleValueChange(ValueChangeEvent event) {
				fireValueChange(event.diff);
			}
		});
		wrappedValue.addStaleListener(new IStaleListener() {
			public void handleStale(StaleEvent staleEvent) {
				fireStale();
			}
		});
	}
	protected Object doGetValue() {
		return wrappedValue.getValue();
	}
	public Object getValueType() {
		return wrappedValue.getValueType();
	}
}