Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322751 - History View: no selection found
Summary: History View: no selection found
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.9.0-M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-16 03:45 EDT by Jens Baumgart CLA
Modified: 2010-08-30 08:59 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 Jens Baumgart CLA 2010-08-16 03:45:36 EDT
1. Close History View
2. Trigger Team->Show in History on a project
3. Trigger context menu on a commit in the history view and select create branch.

The following error occurs:

org.eclipse.core.commands.ExecutionException: No selection found while executing org.eclipse.egit.ui.history.CreateTag
at org.eclipse.ui.handlers.HandlerUtil.noVariableFound(HandlerUtil.java:40)
at org.eclipse.ui.handlers.HandlerUtil.getVariableChecked(HandlerUtil.java:89)
at org.eclipse.ui.handlers.HandlerUtil.getCurrentSelectionChecked(HandlerUtil.java:416)
at org.eclipse.egit.ui.internal.history.command.AbstractHistoryCommanndHandler.getSelection(AbstractHistoryCommanndHandler.java:70)
at org.eclipse.egit.ui.internal.history.command.CreateTagOnCommitHandler.execute(CreateTagOnCommitHandler.java:34)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
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)
...
Comment 1 Mathias Kinzler CLA 2010-08-19 03:18:58 EDT
Hi Jens,
could you verify that this is fixed after the changes:

Reviewed: http://egit.eclipse.org/r/#change,1326
Merged: 44dfabcd07402170fe72242354cc40da71e557f4
Comment 2 Jens Baumgart CLA 2010-08-19 10:59:04 EDT
Hi Mathias,
works fine.