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

Bug 337918

Summary: Calling isPropertyEnabled with an element property causes NPE if property not read
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: shenxue.zhou
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-02-22 18:35:00 EST
If an element property has not been read yet, calling isPropertyEnabled will cause NPE. The isPropertyEnabled method needs to call refresh on the property if this is the first access.
Comment 1 Konstantin Komissarchik CLA 2011-02-22 23:23:52 EST
Fixed in 0.2.1 and 0.3 streams.
Comment 2 Shenxue Zhou CLA 2011-02-25 11:58:54 EST
Verified.