Project: Eclipse_Platform_UI
Bug 328763 [Commands] CommandContributionItem's getCommand() method should spec that it 'null' may be returned
Reported: 2010-10-26 15:00:21 | Status: verified fixed

Can happen for undefined commands and other such unfortunate happenings.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/menus/CommandContributionItem.java