Bug 359474 - R4E Find review item for a GIT repository generates errors
Summary: R4E Find review item for a GIT repository generates errors
Status: RESOLVED DUPLICATE of bug 358600
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 359593 360247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-29 16:00 EDT by Jacques Bouthillier CLA
Modified: 2011-10-19 18:49 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 Jacques Bouthillier CLA 2011-09-29 16:00:52 EDT
LINUX environment:
After installing the R4E binary, create a review and try to "Find review item" for a GIT project.
 When the UI open, the following error is reported in the console log:
 

       
Error when requesting data from the GIT REPO
rg.eclipse.core.runtime.CoreException: TreeWalk should have exactly two trees.
	at org.eclipse.mylyn.internal.git.core.GitConnector.getChangeSet(GitConnector.java:147)
	at org.eclipse.mylyn.internal.git.ui.GetChangeSetDialog.updateChangeSet(GetChangeSetDialog.java:461)
	at org.eclipse.mylyn.internal.git.ui.GetChangeSetDialog.populateNextChangeSets(GetChangeSetDialog.java:292)
	at org.eclipse.mylyn.internal.git.ui.GetChangeSetDialog$1.widgetSelected(GetChangeSetDialog.java:258)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
	at org.eclipse.swt.custom.CCombo.listEvent(CCombo.java:1119)
	at org.eclipse.swt.custom.CCombo$1.handleEvent(CCombo.java:115)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.mylyn.internal.git.ui.connector.GitConnectorUi.getChangeSet(GitConnectorUi.java:52)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.FindReviewItemsHandler.execute(FindReviewItemsHandler.java:140)
Comment 1 Sebastien Dubois CLA 2011-09-29 16:12:57 EDT
This is a Git Connector problem.  This should be moved to Mylyn Version Git connector
Comment 2 Sebastien Dubois CLA 2011-10-11 10:35:43 EDT
*** Bug 359593 has been marked as a duplicate of this bug. ***
Comment 3 Alvaro Sanchez-Leon CLA 2011-10-13 15:10:00 EDT
*** Bug 360247 has been marked as a duplicate of this bug. ***
Comment 4 Alvaro Sanchez-Leon CLA 2011-10-19 18:49:09 EDT
Fix in Bug 358600, 
this is marked as duplicate

*** This bug has been marked as a duplicate of bug 358600 ***