Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363188 - NullPointerException when selecting "Synchronize" in the plugin-properties dialog
Summary: NullPointerException when selecting "Synchronize" in the plugin-properties di...
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT.sync (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Eblen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 10:32 EST by jukefox CLA
Modified: 2011-11-09 10:38 EST (History)
2 users (show)

See Also:


Attachments
Eclipse-log-file with "PTP Remote Synchronization Support" installed (23.36 KB, application/octet-stream)
2011-11-08 10:35 EST, jukefox CLA
no flags Details
Eclipse-log-file with "PTP Fortran Synchronization Support" installed (25.23 KB, application/octet-stream)
2011-11-08 10:38 EST, jukefox CLA
no flags Details

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