Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345732

Summary: Team > Rebase... from history view gives ExecutionException
Product: [Technology] EGit Reporter: James Blackburn <jamesblackburn+eclipse>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn, pwebster
Version: 0.12   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description James Blackburn CLA 2011-05-13 09:28:27 EDT
Eclipse EGit (Incubation)	0.12.1	org.eclipse.egit.feature.group
  Eclipse JGit (Incubation)	0.12.1	org.eclipse.jgit.feature.group

I did a fetch, then in the history view showing all changes in the repository, I right-clicked > Team > Rebase ...
It consistently fails with:

Failed to execute item org.eclipse.egit.ui.RepositoriesViewRebase
org.eclipse.core.commands.ExecutionException: No selection found while executing org.eclipse.egit.ui.RepositoriesViewRebase
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.commands.shared.RebaseCurrentRefCommand.execute(RebaseCurrentRefCommand.java:48)
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)
Comment 1 Matthias Sohn CLA 2013-08-29 07:49:41 EDT
I think this is fixed in the meantime, I do rebase many times a day and always from the history view.