Bug 74468 [Preferences]deprecated preference initialization
IDEWorkbenchPlugIn uses initializeDefaultPreferences to set up its defaults. This was deprecated in 2.0 and is no longer called as we are not on the compatibility layer any more. Here is the code to migrate: store.setDefault(IDEInternalPreferences.SAVE_ALL_BEFORE_BUILD, false); store.setDefault(IDEInternalPreferences.SAVE_INTERVAL, 5); //5 minutes store.setDefault(IDEInternalPreferences.WELCOME_DIALOG, true); store.setDefault(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP, false); store.setDefault( IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW, true); store.setDefault(IDEInternalPreferences.PROJECT_SWITCH_PERSP_MODE, IDEInternalPreferences.PSPM_PROMPT); store.setDefault(IDE.Preferences.PROJECT_OPEN_NEW_PERSPECTIVE, IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchPlugin.java
*		This should be used when a PluginException or a
     *		ExtensionException occur but for which an error
     *		dialog cannot be safely shown.
     *
     *		If you can show an ErrorDialog then do so, and do
     *		not call this method.
     *
     * This convenience method is for internal use by the workbench only
     * and must not be called outside the workbench.
     *
     * This method is supported in the event the log allows plugin related
     * information to be logged (1FTTJKV). This would be done by this method.
     *
     * This method is internal to the workbench and must not be called
     * by any plugins, or examples.
     *
     * @param message 	A high level UI message describing when the problem happened.
     *					May be null.
     * @param status  	The status describing the problem.
     *					Must not be null.
     *
     */
    public static void log(String message, IStatus status) {
        
        if (message != null) {
            getDefault().getLog().log(
                    StatusUtil.newStatus(IStatus.ERROR, message, null));
            System.err.println(message + "\nReason:"); 
        }
        getDefault().getLog().log(status);