Bug 32687 NPE after apply preference changes
build rc1, linux-motif, red hat 8, ibm jre 1.3.1 sr2 I had made some changes in my preferences (editor background colour, etc) and hit Apply. Then afterwards I hit OK to close the Preferences dialog and got the following NPE: !ENTRY org.eclipse.ui 4 4 Feb 24, 2003 11:23:07.830 !MESSAGE Unhandled exception caught in event loop. Unhandled exception caught in event loop. Reason: !ENTRY org.eclipse.ui 4 0 Feb 24, 2003 11:23:08.123 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Display.showToolTip(Display.java:2074) at org.eclipse.swt.widgets.Control.hoverProc(Control.java:993) at org.eclipse.swt.widgets.Control.hoverProc(Control.java:989) at org.eclipse.swt.widgets.Display.mouseHoverProc(Display.java:1555) at org.eclipse.swt.internal.motif.OS.XtAppNextEvent(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1254) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539) java.lang.NullPointerException
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPVariableElementLabelProvider.java
private Image fJARImage;
	private Image fFolderImage;
	private boolean fShowResolvedVariables;
	
	private Color fResolvedBackground;
	
	public CPVariableElementLabelProvider(boolean showResolvedVariables) {
		ImageRegistry reg= JavaPlugin.getDefault().getImageRegistry();
		fJARImage= reg.get(JavaPluginImages.IMG_OBJS_EXTJAR);
		fFolderImage= PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER);
		fShowResolvedVariables= showResolvedVariables;
		fResolvedBackground= null;
	}
	
	/*
	 * @see LabelProvider#getImage(java.lang.Object)
	 */
	public Image getImage(Object element) {
		if (element instanceof CPVariableElement) {
			CPVariableElement curr= (CPVariableElement) element;
			IPath path= curr.getPath();
			if (path.toFile().isFile()) {
				return fJARImage;
			}
			return fFolderImage;
		}
		return super.getImage(element);
	}
	/*