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

Bug 353846

Summary: Structure Compare Selection fails to load content from Input Stream
Product: [Modeling] EMFCompare Reporter: Thomas Beyer <t>
Component: TeamAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet, t
Version: unspecified   
Target Milestone: Kepler   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Error Log none

Description Thomas Beyer CLA 2011-08-04 02:28:00 EDT
Build Identifier: 20110615-0604

I am using svn and emf compare to track the development. I hav to say, that i use the file-protocol for svn. I am not working from a server
When comparing a single file (ecore, genmodel, etc.), compare functionality works as expected.
However when comparing a folder with at least two changed ecore-based files, the compare dialog pops up and shows the list of "structural differences", which will be the changed files. When double clicking on on file to invoke the actual content compare, "java.lang.NullPointerException: Input Stream for the model to load cannot be null." is thrown.
Using the Team-Synchonize-View, things also work as expected.
I am using Subversive with svnkit 1.3.5 r7406 connector.

Reproducible: Always

Steps to Reproduce:
1. change at least 2 ecore-based files under svn-version control.
2. invoke from context menu "compare with -> latest from repository" on parent folder
3. double click on a file in the structural compare panel.
4. see error
Comment 1 Thomas Beyer CLA 2011-08-04 02:29:27 EDT
Created attachment 200876 [details]
Error Log

Find error log in the attachment
Comment 2 Laurent Goubet CLA 2013-01-14 10:02:33 EST
This was probably the same as bug 338394 ... but it seems to have been fixed along the way to juno.

Cannot be reproduced with the latest 1.3 builds on either Juno or Indigo.