Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354316 - NPE occurs when running on an OSGi-less platform without configuring the default workspace path
Summary: NPE occurs when running on an OSGi-less platform without configuring the defa...
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Connection Mgt Framework (show other bugs)
Version: 1.9   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.9.1   Edit
Assignee: Linda Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 21:04 EDT by Linda Chan CLA
Modified: 2011-08-10 00:25 EDT (History)
0 users

See Also:


Attachments

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