Project: Eclipse_Platform_UI
Bug 51110 [Preferences] Error notifying a preference listener on font change.
Reported: 2004-02-03 11:27:57 | Status: closed fixed

M6 Create a font definition with no defaultsTo attribute. Go in to preferences and change the value of Text Font and hit OK you will get an error because you try call JFaceResources.getFontRegistry().put() with a null value.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ExtensionEventHandler.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/IWorkbenchConstants.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PlatformUIPreferenceListener.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/fonts/FontDefinition.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/fonts/FontDefinitionReader.java bundles/org.eclipse.ui/src/org/eclipse/ui/internal/UIPlugin.java