Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327754 - Comparison Editor causes NullPointerException
Summary: Comparison Editor causes NullPointerException
Status: CLOSED DUPLICATE of bug 326194
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 06:49 EDT by Sybren CLA
Modified: 2020-05-14 11:45 EDT (History)
2 users (show)

See Also:


Attachments
Exception traceback of the NullPointerException (4.94 KB, text/plain)
2010-10-14 06:50 EDT, Sybren CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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...