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

Bug 363188

Summary: NullPointerException when selecting "Synchronize" in the plugin-properties dialog
Product: [Tools] PTP Reporter: jukefox <jukefox>
Component: RDT.syncAssignee: John Eblen <jdeblen1>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jdeblen1, roland
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Eclipse-log-file with "PTP Remote Synchronization Support" installed
none
Eclipse-log-file with "PTP Fortran Synchronization Support" installed none

Description jukefox CLA 2011-11-08 10:32:24 EST
Build Identifier: M20110909-1335

After installation of the plugin

PTP Fortran Synchronization Support	5.0.2.201109141657	org.eclipse.ptp.rdt.sync.fortran.feature.group	Eclipse PTP

or

PTP Remote Synchronization Support	5.0.2.201109141657	org.eclipse.ptp.rdt.sync.feature.group	Eclipse PTP

and having a look at the Plugin-Properties there is a Synchronize-entry (I think it makes no sense that it is listed there and maybe this is already the bug).
After selecting that item you will get a
NullPointerException.


Reproducible: Always

Steps to Reproduce:
1. Start Eclipse with PTP Fortran Synchronization Support or PTP Remote Synchronization Support installed.
2. Navigate to "Help" -> "About Eclipse SDK" -> "Installation Details"
3. Select an arbitrary entry within "Installed Software"-table.
4. Click "Properties".
5. Navigate to "Synchronize".
Comment 1 jukefox CLA 2011-11-08 10:35:33 EST
Created attachment 206606 [details]
Eclipse-log-file with "PTP Remote Synchronization Support" installed
Comment 2 jukefox CLA 2011-11-08 10:38:14 EST
Created attachment 206607 [details]
Eclipse-log-file with "PTP Fortran Synchronization Support" installed
Comment 3 John Eblen CLA 2011-11-08 16:55:50 EST
Confirmed. The "Synchronize" entry should not be there. For some reason, the page filter fails to exclude it.
Comment 4 John Eblen CLA 2011-11-09 10:38:02 EST
Fixed in master and ptp_5_0. Use "enabledWhen" instead of "filter" in plugin.xml. (This is how CDT does it.)