Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323275 - Synchronize View: AssertionFailedException using "Next Difference" when using the Git Change Set Model
Summary: Synchronize View: AssertionFailedException using "Next Difference" when using...
Status: CLOSED DUPLICATE of bug 323201
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 13:35 EDT by James Blackburn CLA
Modified: 2010-08-22 07:34 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 James Blackburn CLA 2010-08-20 13:35:04 EDT
Eclipse EGit (Incubation)	0.9.0.201008191513	org.eclipse.egit.feature.group
  Eclipse JGit (Incubation)	0.9.0.201008181537	org.eclipse.jgit.feature.group

I get this AssertionFailedException using pressing the down arrow (Next Difference) button when the Git Change Set element is selected in the Synchronize View.

org.eclipse.core.runtime.AssertionFailedException: null argument:
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:290)
	at org.eclipse.team.internal.ui.Utils.getResourceMapping(Utils.java:955)
	at org.eclipse.team.internal.ui.Utils.getModelProvider(Utils.java:916)
	at org.eclipse.team.internal.ui.Utils.getCompareAdapter(Utils.java:902)
	at org.eclipse.team.ui.synchronize.ModelSynchronizeParticipant.hasCompareInputFor(ModelSynchronizeParticipant.java:321)
	at org.eclipse.team.internal.ui.synchronize.AbstractTreeViewerAdvisor$TreeCompareNavigator.hasCompareInput(AbstractTreeViewerAdvisor.java:82)
	at org.eclipse.team.internal.ui.synchronize.AbstractTreeViewerAdvisor$TreeCompareNavigator.selectChange(AbstractTreeViewerAdvisor.java:67)
	at org.eclipse.team.internal.ui.synchronize.actions.NavigateAction.run(NavigateAction.java:55)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
Comment 1 Remy Suen CLA 2010-08-20 15:08:41 EDT
Caused by incorrect implementation of the equals(Object) and hashCode() methods. See bug 323201.
Comment 2 Remy Suen CLA 2010-08-22 07:34:12 EDT
I can no longer reproduce this so it should be fixed on 0.9.0.201008211512 due to the fix for bug 323201.

James, please feel free to reopen this if you still encounter this with the latest nightlies.

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