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

Bug 324588

Summary: [repoView] Link with editor fails with exception if a bare repo is in the list
Product: [Technology] EGit Reporter: Stefan Lay <stefan.lay>
Component: UIAssignee: Stefan Lay <stefan.lay>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk
Version: 0.9.0   
Target Milestone: 0.9.0-M3   
Hardware: All   
OS: All   
Whiteboard:

Description Stefan Lay CLA 2010-09-06 10:51:20 EDT
Exception: Bare Repository has neither a working tree, nor an index

org.eclipse.jgit.errors.NoWorkTreeException: Bare Repository has neither a working tree, nor an index
	at org.eclipse.jgit.lib.Repository.getWorkTree(Repository.java:1106)
	at org.eclipse.egit.ui.internal.repository.tree.LinkHelper.findSelection(LinkHelper.java:100)
	at org.eclipse.ui.navigator.LinkHelperService.getSelectionFor(LinkHelperService.java:126)
	at org.eclipse.ui.internal.navigator.actions.LinkEditorAction$3.run(LinkEditorAction.java:99)
Comment 1 Chris Aniszczyk CLA 2010-09-06 12:46:10 EDT
Fixed with b9add116f4a7c968217dd65cee987918fc0eb561.

Thanks!