Bug 101065 [Markers] Marker image lookup not nl enabled
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/MarkerImageProviderRegistry.java
} catch (CoreException e) {
                IDEWorkbenchPlugin
                        .getDefault()
                        .getLog()
                        .log(
                                new Status(
                                        IStatus.ERROR,
                                        PlatformUI.PLUGIN_ID,
                                        0,
                                        "Exception creating image descriptor for: " + desc.markerType,
                                        e));
                return null;
            }
        }
        return null;
    }
    /**
     * Returns the image descriptor with the given relative path.
     */
    ImageDescriptor getImageDescriptor(Descriptor desc) {
        try {
            URL installURL = desc.pluginBundle.getEntry("/"); 
            URL url = new URL(installURL, desc.imagePath);
            return ImageDescriptor.createFromURL(url);
        } catch (MalformedURLException e) {
            return null;
        }
    }
}