Community
Participate
Working Groups
I've just installed egit 0.11.1: Eclipse EGit (Incubation) 0.11.1 org.eclipse.egit.feature.group Eclipse EGit - Source (Incubation) 0.11.1 org.eclipse.egit.source.feature.group Eclipse JGit (Incubation) 0.11.1 org.eclipse.jgit.feature.group Eclipse JGit - Source (Incubation) 0.11.1 org.eclipse.jgit.source.feature.group and double clicking on 'Workspace Model' element in the synchronize view has no effect. I can compare the files manually using the history view or the context menu in a resource view, but it doesn't work from the synchronize view. AFAICS this would make the Synchronize action useless in 0.11.1.
Note there are no errors logged to the error log. Double-click just fails silently for me.
i see an ArrayIndexOutOfBoundsException !ENTRY org.eclipse.ui 4 0 2011-02-15 12:32:56.954 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(ArrayList.java:324) at java.util.Collections$UnmodifiableList.get(Collections.java:1154) at org.eclipse.egit.ui.internal.synchronize.RemoteSelectionCombo.getValue(RemoteSelectionCombo.java:95) in the log.
(In reply to comment #2) > java.lang.ArrayIndexOutOfBoundsException: -1 > at java.util.ArrayList.get(ArrayList.java:324) > at java.util.Collections$UnmodifiableList.get(Collections.java:1154) > at > org.eclipse.egit.ui.internal.synchronize.RemoteSelectionCombo.getValue(RemoteSelectionCombo.java:95) We have other bugs on this topic. See bug 322459 and bug 333063.
I think that I know what could cause this problem. Additionally this ArrayIndexOutOfBoundException isn't connected with this issue because it comes from "sync-dialog" not form showing compare editor.
This patch should fix this issue: http://egit.eclipse.org/r/2500
We will most likely spin a 0.11.3 for this one...
(In reply to comment #1) > Note there are no errors logged to the error log. Double-click just fails > silently for me. I have similar problems with synchronize. Not sure if its the same issue but I have performed a sync of my local branch against the remote tracking branch. The revision tree is something like; A-C-D---G--H--J \ \ / / B---E--F--I My workspace points to I and a sync shows H and J (based on the commit IDs) which in reality are simple merge commits. However J insteads shows my changes in I but also changes from G! Double clicking on the individual files shows now differences between the files except for the files in I which show the differences correctly (well the actual differences from I but showing the commit IDs from H&J). One of the entries also shows as 'Error: no label provider for ModelBlob[objecjtId=AnyObject[e97...' The H changeset seems to do a similar thing, its showing changes from B,E and F.
Fixed in stable-0.11 (In reply to comment #7) Can you open another bug for this case? Would be great if we could even get a test case :)
*** Bug 336177 has been marked as a duplicate of this bug. ***