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

Bug 314582

Summary: NPE when loading stored procedure info from database definition
Product: [Tools] Data Tools Reporter: Brian Payton <bpayton>
Component: ConnectivityAssignee: Brian Payton <bpayton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.8   
Target Milestone: 1.8   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch for plugin o.e.d.connectivity.sqm.core none

Description Brian Payton CLA 2010-05-26 18:18:18 EDT
The code in the loadDatabaseDefinition method in the DatabaseDefinitionImpl class in plugin org.eclipse.datatools.connectivity.sqm.core assumes that all database definition (vendor doc) files contain a stored procedure definition. Some do not, which can cause an NPE.  Need to prevent this NPE.
Comment 1 Brian Payton CLA 2010-05-26 18:28:51 EDT
Created attachment 170120 [details]
Patch for plugin o.e.d.connectivity.sqm.core
Comment 2 Brian Payton CLA 2010-05-26 18:36:06 EDT
Checked in change, tagged to v201005270630