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

Bug 315191

Summary: [TabbedProperties] NPE from the Tabbed property refresh API
Product: [Eclipse Project] Platform Reporter: saurav sarkar <saurav.sarkar1>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED INVALID QA Contact: Anthony Hunter <ahunter.eclipse>
Severity: normal    
Priority: P3 CC: prakash
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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