Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315191 - [TabbedProperties] NPE from the Tabbed property refresh API
Summary: [TabbedProperties] NPE from the Tabbed property refresh API
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Anthony Hunter CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 08:02 EDT by saurav sarkar CLA
Modified: 2010-06-01 08:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description saurav sarkar CLA 2010-06-01 08:02:48 EDT
Build Identifier:  M20090211-1700

Hi,

I get the NPE from the TabbedPropertySheetPage refresh API.
Here is the code.

<code>
public void refresh() {
		currentTab.refresh();
		}
</code>

If the currentTab is null NPE is thrown.
I saw in the refreshTitleBar() method currentTab NPE check is done.
Could we have the same check done in the refresh method also?

Thanks and Regards,
Saurav


Reproducible: Always
Comment 1 Prakash Rangaraj CLA 2010-06-01 08:37:35 EDT
Saurav,
   Did you ever hit the NPE?
Comment 2 saurav sarkar CLA 2010-06-01 08:54:53 EDT
(In reply to comment #1)
> Saurav,
>    Did you ever hit the NPE?


Hi Prakash,

The problem was from our framework.
Closing the Bug from my side.

Thanks and Regards,
Saurav