Bug 76432 [GlobalActions] WorkbenchActionBuilder wrong null check
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
*/
    void updateBuildActions(boolean autoBuilding) {
        
        buildAllAction.setEnabled(!autoBuilding);
        buildProjectAction.setEnabled(!autoBuilding);
        toggleAutoBuildAction.setChecked(autoBuilding);
        
        ICoolBarManager coolBarManager = actionBarConfigurer
                .getCoolBarManager();
        IContributionItem cbItem = coolBarManager
                .find(IWorkbenchActionConstants.TOOLBAR_FILE);
        if (!(cbItem instanceof ToolBarContributionItem)) {
            
            IDEWorkbenchPlugin.log("File toolbar contribution item is missing"); 
            return;
        }
        ToolBarContributionItem toolBarItem = (ToolBarContributionItem) cbItem;
        IToolBarManager toolBarManager = toolBarItem.getToolBarManager();
        if (toolBarManager == null) {
            
            IDEWorkbenchPlugin.log("File toolbar is missing"); 
            return;
        }
        
        if (!autoBuilding) {
            toolBarManager.appendToGroup(IWorkbenchActionConstants.BUILD_GROUP,
                    buildAllAction);
            toolBarManager.update(false);
            toolBarItem.update(ICoolBarManager.SIZE);
        } else if (buildAllAction != null) {