Project: JDT
Bug 236251 [implementation] failure when launching headless
Reported: 2008-06-09 11:07:41 | Status: verified fixed

3.4 RC3. When launching in headless mode it might still load the jdt.ui plug-in due to org.eclipse.core.filebuffers.documentSetup extensions being triggered. When it then wants to initialize the preferences it will fail due to calls to JFaceResources.getColorRegistry().getRGB(String). We should protect that code with: if (PlatformUI.isWorkbenchRunning()) { } // else don't initialize the colors

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java