Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339534 - IllegalArgumentException right-clicking in the History View
Summary: IllegalArgumentException right-clicking in the History View
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Mylyn (show other bugs)
Version: 0.12   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 09:56 EST by James Blackburn CLA
Modified: 2011-07-05 03:06 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2011-03-10 09:56:10 EST
Using current egit nightly:
 Eclipse EGit (Incubation)    0.12.0.201103040937 org.eclipse.egit.feature.group
 Eclipse JGit (Incubation)    0.12.0.201103040915 org.eclipse.jgit.feature.group


I selected a project, which is the root of a checkout, looked in the history view and right-clicked.  I got an IllegalArgumentException:

failed to get repo url
java.lang.IllegalArgumentException: URI is not absolute
	at java.net.URI.toURL(URI.java:1080)
	at org.eclipse.egit.internal.mylyn.ui.commit.TaskReferenceFactory.getTaskRepositoryByGitRepoURL(TaskReferenceFactory.java:128)
	at org.eclipse.egit.internal.mylyn.ui.commit.TaskReferenceFactory.adaptFromRevCommit(TaskReferenceFactory.java:96)
	at org.eclipse.egit.internal.mylyn.ui.commit.TaskReferenceFactory.adaptFromObject(TaskReferenceFactory.java:61)
	at org.eclipse.egit.internal.mylyn.ui.commit.TaskReferenceFactory.getAdapter(TaskReferenceFactory.java:55)
	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:326)
	at org.eclipse.core.internal.runtime.AdapterManager.loadAdapter(AdapterManager.java:356)
	at org.eclipse.ui.internal.LegacyResourceSupport.getAdapter(LegacyResourceSupport.java:622)
	at org.eclipse.ui.internal.LegacyResourceSupport.adaptSelection(LegacyResourceSupport.java:580)
	at org.eclipse.ui.internal.ObjectActionContributor.contributeObjectActions(ObjectActionContributor.java:126)
	at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:97)
	at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:262)
	at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:339)
	at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:338)
	at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:469)
	at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:465)
Comment 1 Robert Munteanu CLA 2011-06-09 15:47:59 EDT
Should be fixed by http://egit.eclipse.org/r/#change,3692
Comment 2 Matthias Sohn CLA 2011-07-05 03:06:12 EDT
merged as bacd63bec848355bccde0b6099a31decb46dbb09