Community
Participate
Working Groups
If the ds bundle is not in the launch config a NPE is created the first time a service is used. Tom Schindl suggested on the e4 mailing list that the existance of the ds bundles should be checked at start time and a warning should be written if they are not included in the launch config.
This would definitely help!
*** Bug 318838 has been marked as a duplicate of this bug. ***
Created attachment 174134 [details] patch This patch simply checks for one of our core services which is contributed through DS (org.eclipse.e4.ui.workbench.modeling.EModelService) and throws an exception with a meaningful error message. "Core services not available. Please check if a declarative service implementation like org.equinox.ds is in the launch configuration and all dependencies are resolved!"
A bit low-tech but it will work :-). I would change the error message a bit: - it's "org.eclipse.equinox.ds"; - "Please make sure that a declarative service implementation (such as the bundle "org.eclipse.equinox.ds") is available." (In my mind the "launch configuration" only applies to debugging.) +1.
released with proposed rewording from oleg to head