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

Bug 327754

Summary: Comparison Editor causes NullPointerException
Product: z_Archived Reporter: Sybren <sybren.stuvel>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED DUPLICATE QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: jbooker, kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Exception traceback of the NullPointerException none

Description Sybren CLA 2010-10-14 06:49:42 EDT
I'm working on a project managed with CVS. When I right-click on the project, choose "Team", then "Synchronize with Repository" the Team Synchronization view opens. Here I can double-click on files to open them in the Comparison Editor. This works for all files, but not for PHP files. The editor opens, but it's empty. This behaviour is shown regardless of the origin of the change (incoming, outgoing or conflict).

I've attached a snippet from the console log that shows a NullPointerException being thrown when I open a PHP file in the console editor.
Comment 1 Sybren CLA 2010-10-14 06:50:33 EDT
Created attachment 180869 [details]
Exception traceback of the NullPointerException

Added the exception traceback of the NullPointerException
Comment 2 Sybren CLA 2010-10-14 06:52:51 EDT
I've just noticed that the same issue occurs when opening TPL (Smarty template) files.
Comment 3 Jeremy Booker CLA 2010-11-10 11:07:57 EST
This looks like a duplicate of bug 326194.
Comment 4 Zhongwei Zhao CLA 2011-05-11 23:58:26 EDT
yes,duplicate of bug 326194

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