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

Bug 329166

Summary: "Compare with Lastest from repository" throws NPE
Product: z_Archived Reporter: pierre
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED DUPLICATE QA Contact: Ilina Stefanova <ilina.s>
Severity: major    
Priority: P3 CC: kalin.a, laurent.goubet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Stacktrace of the exception none

Description pierre CLA 2010-10-31 16:20:09 EDT
Build Identifier: M20100909-0800

When trying to compare a locally modified php file with a version from the repository, Eclipse throws following error:

Unable to create editor ID org.eclipse.compare.CompareEditor: An unexpected exception was thrown.

This happens on a fresh installed Eclipse with pdt 2.2.1 and subversive 2.2.2

Reproducible: Always

Steps to Reproduce:
1. Checkout a php project from a svn repository
2. Modify and save a file
3. Rightclick file in PHP Explorer, "Compare With" -> anything svn related
Comment 1 pierre CLA 2010-10-31 16:22:22 EDT
Created attachment 182120 [details]
Stacktrace of the exception
Comment 2 pierre CLA 2010-10-31 16:23:11 EDT
Session Data field from the Event Details window:

eclipse.buildId=M20100909-0800
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.php.product
Comment 3 Laurent Goubet CLA 2011-03-10 08:48:02 EST
Sorry about the very long delay on this one, this is not an EMF Compare bug, I am reassigning to PDT/Core as I have no idea as to the real component to use here.
Comment 4 Zhongwei Zhao CLA 2011-04-15 02:48:59 EDT
duplicate of 326194

*** This bug has been marked as a duplicate of bug 326194 ***
Comment 5 Kalin CLA 2011-07-26 07:50:39 EDT
No longer reproducible.
Closing...