Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 266223 - Perf tools configurationTabs always overwrites the same tab
Summary: Perf tools configurationTabs always overwrites the same tab
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Perf (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Wyatt Spear CLA
QA Contact: Beth Tibbitts CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 17:10 EST by Ventsislav Petkov CLA
Modified: 2013-05-27 09:09 EDT (History)
0 users

See Also:


Attachments
Proposed patch (1.67 KB, patch)
2009-02-25 17:12 EST, Ventsislav Petkov CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ventsislav Petkov CLA 2009-02-25 17:10:39 EST
Build ID: M20080911-1700

Steps To Reproduce:
1. Using the org.eclipse.ptp.perf.configurationTabs extension point, I added more than one tab in one plugin.
2. When I tried to open the Profile run dialog and access a perf tools configuration, I got NPE.


More information:
The array storing the tabs in the (Parallel)PerformanceLaunchConfigurationTabGroup does not process the new tab extensions correctly. It always overwrites the last tab. Thus, not initializing all the elements in the array. This leads to a NPE when the Profile configuration is accessed.
Comment 1 Ventsislav Petkov CLA 2009-02-25 17:12:32 EST
Created attachment 126792 [details]
Proposed patch
Comment 2 Wyatt Spear CLA 2012-09-24 14:18:39 EDT
This has been fixed for quite a while.