Bug 28638 [Preferences] Import Preferences: Crashes on eclipse
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FontRegistry.java
FontData[] validData = bestDataArray(fonts, display);
		if (validData == null) {
			 
			return null;
		} else {
			
			put(symbolicName, validData, false);
			return new Font(display, validData);
		}
	}
	/**
	 * Returns the default font.  Creates it if necessary.
	 */
	Font defaultFont() {
		Display current = Display.getCurrent();
		if (current == null) {
			Shell shell = new Shell();
			Font font = shell.getFont();
			shell.dispose();
			return font;
		} else
			return current.getSystemFont();
	}
	/**
	 * Returns the default font data.  Creates it if necessary.
	 */
	private FontData[] defaultFontData() {
		return defaultFont().getFontData();
	}
	/**