Bug 220766 [JFace] ImageRegistry.get does not work as expected (crashes with NullPointerException)
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FileImageDescriptor.java
try {
			return new Image(device, getFilePath());
		} catch (SWTException exception) {
			if (returnMissingImageOnError) {
				try {
					return new Image(device, DEFAULT_IMAGE_DATA);
				} catch (SWTException nextException) {
					return null;
				}
			}
			return null;
		}
	}
	/**
	 * Returns the filename for the ImageData.
	 * 
	 * @return {@link String} or <code>null</code> if the file cannot be found
	 */
	private String getFilePath() {
		if (location == null)
			return name;
		try {
			return FileLocator.toFileURL(location.getResource(name)).getPath();
		} catch (IOException e) {
			Policy.logException(e);
			return null;
		}
	}
}