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

Bug 332142

Summary: Unable to delete a repository
Product: [Technology] EGit Reporter: Mariot Chauvin <mariot.chauvin>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jens.baumgart
Version: 0.9.0   
Target Milestone: 0.10.0-M1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Mariot Chauvin CLA 2010-12-08 10:46:33 EST
Eclipse Version: Helios Service Release 1
Build id: 20100917-0705
EGit version : 0.9.3

I am not able to delete a repository.
When I try to delete one, I get the following exception.

org.eclipse.core.commands.ExecutionException: No selection found while executing org.eclipse.egit.ui.RepositoriesViewDelete
	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.repository.tree.command.RepositoriesViewCommandHandler.getSelectedNodes(RepositoriesViewCommandHandler.java:42)
	at org.eclipse.egit.ui.internal.repository.tree.command.RemoveCommand$1.run(RemoveCommand.java:107)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Jens Baumgart CLA 2011-02-01 04:34:15 EST
Fixed with commit 713fa7faeda7f44964634268ee2d3647d18976e9.