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

Bug 384620

Summary: [core]Find review item from Subclipse project having commit in more than one project generates an error
Product: z_Archived Reporter: Jacques Bouthillier <lmcbout>
Component: MylynAssignee: Project Inbox <r4e-triaged>
Status: CLOSED MOVED QA Contact:
Severity: normal    
Priority: P4 CC: fchouinard, lmcbout, sebastien.dubois
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 384768    
Bug Blocks: 399542    

Description Jacques Bouthillier CLA 2012-07-09 11:25:07 EDT
When extracting review item from a subclipse project, it generated an error
How to reproduce:
1- Checkout the following project only from SVN: svnclientAdapter
2- Open a review, and find review item for the project listed in #1
3- In the Dialogue window, select the entry dated June 16, 2012  and the version id :5290
	Title: Update SVNKIT plug-in to work with the 1.7.0-alpha2 snapshot
4- Select the OK button to generate the review item
5- The error will be generated and you will see that the file ".setting" has no entry in the R4E navigator view, and if you select the ">", the basic and target file in the property view are empty.
==> R4E should not try to generate the compare between that file which is not mounted in the eclipse workspace. Since this file is part of the commit, we need to have an indication to let the user knows this file is not mounted, but is part of the commit.

See the error:
Unable to resolve storage, 5290, /trunk/subclipse/org.tigris.subversion.clientadapter.svnkit/.settings
======================================
An internal error occurred during: "Computing differences...".

org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
	at org.eclipse.compare.structuremergeviewer.Differencer.compare(Differencer.java:404)
	at org.eclipse.compare.structuremergeviewer.Differencer.traverse(Differencer.java:312)
	at org.eclipse.compare.structuremergeviewer.Differencer.findDifferences(Differencer.java:221)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.editors.R4ECompareEditorInput.prepareCompareInput(R4ECompareEditorInput.java:235)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.editors.R4ECompareEditorInput.prepareCompareInputNoEditor(R4ECompareEditorInput.java:127)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.FindReviewItemsHandler.updateFilesWithDeltas(FindReviewItemsHandler.java:691)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.FindReviewItemsHandler.access$4(FindReviewItemsHandler.java:687)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.FindReviewItemsHandler$1$3.run(FindReviewItemsHandler.java:456)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn