Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314582 - NPE when loading stored procedure info from database definition
Summary: NPE when loading stored procedure info from database definition
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Connectivity (show other bugs)
Version: 1.8   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.8   Edit
Assignee: Brian Payton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 18:18 EDT by Brian Payton CLA
Modified: 2010-05-26 18:36 EDT (History)
0 users

See Also:


Attachments
Patch for plugin o.e.d.connectivity.sqm.core (3.38 KB, patch)
2010-05-26 18:28 EDT, Brian Payton CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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