Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322456 - NPE when selecting participant
Summary: NPE when selecting participant
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Mylyn (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.9.0-M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 22:13 EDT by Benjamin Muskalla CLA
Modified: 2010-08-29 19:23 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2010-08-11 22:13:45 EDT
What steps will reproduce the problem?
1. Select a project (eg. o.e.egit.ui), Team > Synchronize
2. In Synchronize view, try to drop down the the Synchronize participant icon (first view icon)
3. Following exception occurs


-- Error Details --
Date: Thu Aug 12 04:11:37 CEST 2010
Message: Unhandled event loop exception
Severity: Error
Product: Eclipse SDK 3.6.0.v201006080911 (org.eclipse.sdk.ide)
Plugin: org.eclipse.ui
Exception Stack Trace:
java.lang.NullPointerException
at org.eclipse.team.internal.ui.synchronize.actions.ShowSynchronizeParticipantAction$ParticipantOverlay.<init>(ShowSynchronizeParticipantAction.java:81)
at org.eclipse.team.internal.ui.synchronize.actions.ShowSynchronizeParticipantAction$ParticipantOverlay.<init>(ShowSynchronizeParticipantAction.java:78)
at org.eclipse.team.internal.ui.synchronize.actions.ShowSynchronizeParticipantAction.<init>(ShowSynchronizeParticipantAction.java:53)
at org.eclipse.team.internal.ui.synchronize.actions.SynchronizePageDropDownAction.addParticipantsToMenu(SynchronizePageDropDownAction.java:95)
at org.eclipse.team.internal.ui.synchronize.actions.SynchronizePageDropDownAction.getMenu(SynchronizePageDropDownAction.java:80)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 1 Marc-André Laperle CLA 2010-08-17 01:13:20 EDT
I think I have the same problem. Can you select anything from the drop down after clicking? Nothing shows up for me. I have pretty much the same stack trace.
Comment 2 Remy Suen CLA 2010-08-19 21:07:30 EDT
See bug 256972.
Comment 3 Benjamin Muskalla CLA 2010-08-29 11:09:17 EDT
Code review at http://egit.eclipse.org/r/#change,1448
Comment 4 Matthias Sohn CLA 2010-08-29 19:23:12 EDT
merged as 	32b6d7ae9969ad3500b3e11eb8d75eac3a482429