Project: Eclipse_Platform_UI
Bug 344827 [Compatibility] NPEs in cool bar manager to trim code
Reported: 2011-05-05 07:57:45 | Status: resolved fixed

java.lang.NullPointerException at org.eclipse.ui.internal.CoolBarToTrimManager.fill(CoolBarToTrimManager.java:633) at org.eclipse.ui.internal.CoolBarToTrimManager.update(CoolBarToTrimManager.java:573) at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1625) at org.eclipse.ui.internal.WWinActionBars.updateActionBars(WWinActionBars.java:113) and java.lang.NullPointerException at org.eclipse.jface.action.ContributionManager.itemAdded(ContributionManager.java:405) at org.eclipse.jface.action.ContributionManager.insert(ContributionManager.java:317) at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.addToManager(ToolBarManagerRenderer.java:879) at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.processSeparator(ToolBarManagerRenderer.java:809) at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.modelProcessSwitch(ToolBarManagerRenderer.java:787)

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarManagerRenderer.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CoolBarToTrimManager.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorActionBars.java