Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324588 - [repoView] Link with editor fails with exception if a bare repo is in the list
Summary: [repoView] Link with editor fails with exception if a bare repo is in the list
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.0-M3   Edit
Assignee: Stefan Lay CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-06 10:51 EDT by Stefan Lay CLA
Modified: 2010-09-06 12:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!