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

Bug 354316

Summary: NPE occurs when running on an OSGi-less platform without configuring the default workspace path
Product: [Tools] Data Tools Reporter: Linda Chan <lchan>
Component: Connection Mgt FrameworkAssignee: Linda Chan <lchan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.9   
Target Milestone: 1.9.1   
Hardware: All   
OS: All   
Whiteboard:

Description Linda Chan CLA 2011-08-09 21:04:30 EDT
When running the Connectivity framework on an OSGi-less platform, a client application must configure its default workspace path (as described on http://wiki.eclipse.org/DTP_1.9_M7_New_and_Noteworthy).

If no default workspace path is configured, a NPE is currently thrown.  It should have caught the configuration problem, and throws a more user-friendly exception, with the appropriate error message.
Comment 1 Linda Chan CLA 2011-08-10 00:25:55 EDT
Committed fix to detect missing configuration of default workspace location, and throws an exception with relevant error message.  Tagged with v201108101135.

Git repo commit diff link:
http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=d21dd25c0ae964d4c3049ecc34ac0b9197bcd608