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

Bug 321446

Summary: CVS Compare of UML models prevents comparison
Product: [Modeling] EMFCompare Reporter: Ed Willink <ed>
Component: CoreAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet
Version: 2.6.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2010-08-01 02:12:52 EDT
Show CVS history of /org.eclipse.uml2.uml.resources/profiles/Ecore.profile.uml

Try to compare 1.21 with 1.23.

Compare editor just shows 'initialising'.

Error Log shows

Caused by: java.lang.NullPointerException
at org.eclipse.emf.compare.ui.internal.RevisionComparisonHandler$RevisionedURIConverter.resolve(RevisionComparisonHandler.java:170)
at org.eclipse.emf.compare.ui.team.AbstractResolvingURIConverter.normalize(AbstractResolvingURIConverter.java:35)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:361)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2515)

AS well as fixing the NPE, it would be good to provide a visual indication of failure.
Comment 1 Laurent Goubet CLA 2011-08-09 05:28:57 EDT
This could still be reproduced on Indigo. It has been fixed on 1.2 and will be on master.