Buggy code:
private void createSplashWrapper ( ) { } private Image loadImage ( String splashLoc ) { } private static AbstractSplashHandler getSplash ( ) { } public static WorkbenchTestable getWorkbenchTestable ( ) { } public void addWorkbenchListener ( IWorkbenchListener listener ) { } public void removeWorkbenchListener ( IWorkbenchListener listener ) { } boolean firePreShutdown ( final boolean forced ) { } void firePostShutdown ( ) { } public void addWindowListener ( IWindowListener l ) { } public void removeWindowListener ( IWindowListener l ) { } protected void fireWindowOpened ( final IWorkbenchWindow window ) { } protected void fireWindowClosed ( final IWorkbenchWindow window ) { } protected void fireWindowActivated ( final IWorkbenchWindow window ) { } protected void fireWindowDeactivated ( final IWorkbenchWindow window ) { } private boolean busyClose ( final boolean force ) { } public boolean saveAllEditors ( boolean confirm ) { } private IWorkbenchWindow busyOpenWorkbenchWindow ( final String perspID , final IAdaptable input ) throws WorkbenchException { } public boolean close ( ) { } boolean close ( int returnCode , final boolean force ) { } public IWorkbenchWindow getActiveWorkbenchWindow ( ) { } protected EditorHistory getEditorHistory ( ) { } public IEditorRegistry getEditorRegistry ( ) { } private int getNewWindowNumber ( ) { } public IWorkbenchOperationSupport getOperationSupport ( ) { } public IPerspectiveRegistry getPerspectiveRegistry ( ) { } public PreferenceManager getPreferenceManager ( ) { } public IPreferenceStore getPreferenceStore ( ) { } public ISharedImages getSharedImages ( ) { } WindowManager getWindowManager ( ) { } private File getWorkbenchStateFile ( ) { } public int getWorkbenchWindowCount ( ) { } public IWorkbenchWindow [ ] getWorkbenchWindows ( ) { } public IWorkingSetManager getWorkingSetManager ( ) { } public ILocalWorkingSetManager createLocalWorkingSetManager ( ) { } private boolean init ( ) { } private void initializeCommandResolver ( ) { } private void initializeApplicationColors ( ) { } private void initializeSingleClickOption ( ) { } private void initializeFonts ( ) { } private static void initializeImages ( ) { } private void uninitializeImages ( ) { } private void initializeColors ( ) { } public boolean isClosing ( ) { } private final void initializeDefaultServices ( ) { final EvaluationService evaluationService = new EvaluationService ( ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { serviceLocator . registerService ( IEvaluationService . class , evaluationService ) ; } } ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { serviceLocator . registerService ( ISaveablesLifecycleListener . class , new SaveablesList ( ) ) ; } } ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { Command . DEBUG_COMMAND_EXECUTION = Policy . DEBUG_COMMANDS ; commandManager = new CommandManager ( ) ; } } ) ; final CommandService [ ] commandService = new CommandService [ 1 ] ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { commandService [ 0 ] = new CommandService ( commandManager ) ; commandService [ 0 ] . readRegistry ( ) ; serviceLocator . registerService ( ICommandService . class , commandService [ 0 ] ) ; } } ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { ContextManager . DEBUG = Policy . DEBUG_CONTEXTS ; contextManager = new ContextManager ( ) ; } } ) ; final IContextService contextService = new ContextService ( contextManager ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { contextService . readRegistry ( ) ; } } ) ; serviceLocator . registerService ( IContextService . class , contextService ) ; final IHandlerService [ ] handlerService = new IHandlerService [ 1 ] ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { <START_BUG> handlerService [ 0 ] = new org . eclipse . ui . internal . handlers . HandlerService ( commandService [ 0 ] ) ; <END_BUG> handlerService [ 0 ] . readRegistry ( ) ; } } ) ; serviceLocator . registerService ( IHandlerService . class , handlerService [ 0 ] ) ; final IBindingService [ ] bindingService = new BindingService [ 1 ] ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { BindingManager . DEBUG = Policy . DEBUG_KEY_BINDINGS ; bindingManager = new BindingManager ( contextManager , commandManager ) ; bindingService [ 0 ] = new BindingService ( bindingManager , commandService [ 0 ] , Workbench . this ) ; } } ) ; bindingService [ 0 ] . readRegistryAndPreferences ( commandService [ 0 ] ) ; serviceLocator . registerService ( IBindingService . class , bindingService [ 0 ] ) ; final CommandImageManager commandImageManager = new CommandImageManager ( ) ; final CommandImageService commandImageService = new CommandImageService ( commandImageManager , commandService [ 0 ] ) ; commandImageService . readRegistry ( ) ; serviceLocator . registerService ( ICommandImageService . class , commandImageService ) ; final WorkbenchMenuService menuService = new WorkbenchMenuService ( ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { menuService . readRegistry ( ) ; } } ) ; serviceLocator . registerService ( IMenuService . class , menuService ) ; final ISourceProviderService sourceProviderService = new SourceProviderService ( ) ; serviceLocator . registerService ( ISourceProviderService . class , sourceProviderService ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { final ActiveShellSourceProvider activeShellSourceProvider = new ActiveShellSourceProvider ( Workbench . this ) ; evaluationService . addSourceProvider ( activeShellSourceProvider ) ; handlerService [ 0 ] . addSourceProvider ( activeShellSourceProvider ) ; contextService . addSourceProvider ( activeShellSourceProvider ) ; menuService . addSourceProvider ( activeShellSourceProvider ) ; sourceProviderService . registerProvider ( activeShellSourceProvider ) ; } } ) ; StartupThreading . runWithoutExceptions ( new StartupRunnable ( ) { public void runWithException ( ) { final ActivePartSourceProvider activePartSourceProvider = new ActivePartSourceProvider ( Workbench . this ) ; evaluationService . addSourceProvider ( activePartSourceProvider ) ; handlerService [ 0 ] . addSourceProvider ( activePartSourceProvider ) ;

Fix:
handlerService [ 0 ] = new org . eclipse . ui . internal . handlers . HandlerService ( commandService [ 0 ] , evaluationService ) ;