Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358291 - NPE when trying to get Nature Descriptor
Summary: NPE when trying to get Nature Descriptor
Status: RESOLVED FIXED
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.validation (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.5   Edit
Assignee: Rosendo Martinez CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 15:14 EDT by Rosendo Martinez CLA
Modified: 2011-10-20 00:28 EDT (History)
2 users (show)

See Also:
cbridgha: review+


Attachments
R3_2_maintenance new patch (1.20 KB, patch)
2011-09-20 15:41 EDT, Rosendo Martinez CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rosendo Martinez CLA 2011-09-20 15:14:59 EDT
Build Identifier: 

There is a NPE when trying to get descriptor of a Project Nature that does not have Nature Descriptor. Need to add a check to avoid NPE.

Reproducible: Always
Comment 1 Rosendo Martinez CLA 2011-09-20 15:41:09 EDT
Created attachment 203709 [details]
R3_2_maintenance new patch
Comment 2 Chuck Bridgham CLA 2011-09-20 15:50:00 EDT
save fix - approved
Comment 3 Carl Anderson CLA 2011-09-22 02:31:31 EDT
Committed to R3_2_maintenance for WTP 3.2.5
Comment 4 Carl Anderson CLA 2011-10-20 00:28:05 EDT
Committed to R3_3_maintenance and HEAD for WTP 3.3.2 and WTP 3.4.0 M3