Project: Eclipse_Platform_UI
Bug 124061 Exceptions occur opening the sync view
Reported: 2006-01-16 20:47:14 | Status: resolved fixed

Here's the exception java.lang.NullPointerException: Cannot get the command identifier for a null action id at org.eclipse.ui.internal.handlers.ActionCommandMappingService.getCommandId(ActionCommandMappingService.java:47) at org.eclipse.ui.SubActionBars.setGlobalActionHandler(SubActionBars.java:403) at org.eclipse.team.ui.synchronize.SynchronizePageActionGroup.registerActionWithWorkbench(SynchronizePageActionGroup.java:265) at org.eclipse.team.ui.synchronize.SynchronizePageActionGroup.appendToGroup(SynchronizePageActionGroup.java:212) at org.eclipse.team.internal.ui.synchronize.NavigationActionGroup.fillActionBars(NavigationActionGroup.java:67) at org.eclipse.team.internal.ui.synchronize.SynchronizePageConfiguration$5.run(SynchronizePageConfiguration.java:331) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:785) at org.eclipse.team.internal.ui.synchronize.SynchronizePageConfiguration.fillActionBars(SynchronizePageConfiguration.java:326) at org.eclipse.team.internal.ui.synchronize.StructuredViewerAdvisor.setActionBars(StructuredViewerAdvisor.java:215) at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizePage.setActionBars(AbstractSynchronizePage.java:146) at org.eclipse.ui.part.PageBookView.preparePage(PageBookView.java:342) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:315) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:610) at org.eclipse.team.internal.ui.synchronize.SynchronizeView.display(SynchronizeView.java:338) at org.eclipse.team.internal.ui.synchronize.SynchronizeView.updateForExistingParticipants(SynchronizeView.java:424) at org.eclipse.team.internal.ui.synchronize.SynchronizeView.createPartControl(SynchronizeView.java:381) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:330) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:195) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552) at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1655) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:940) at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:923) at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3254) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3251) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3229) at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:146) at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:102) at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:70) at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:113) at org.eclipse.jface.action.Action.runWithEvent(Action.java:492) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:480) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:392) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:914) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3287) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2907) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1790) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1754) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:400) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:381) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)

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