Bug 277213 JFace does not run stand-alone
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FileImageDescriptor.java
if (returnMissingImageOnError)
				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 new Path(name).toOSString();
		URL resource = location.getResource(name);
		if (resource == null)
			return null;
		try {
			if (JFaceActivator.getBundleContext() == null) {
				return new Path(resource.getFile()).toOSString();
			}
			return new Path(FileLocator.toFileURL(resource).getPath()).toOSString();
		} catch (IOException e) {
			Policy.logException(e);
			return null;
		}
	}
}