Community
Participate
Working Groups
I am often facing problems starting a workbench when org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext() is called on startup and ModelServiceImpl is created. The failure is that an instance of IEventBroker can't be retrieved from the appContext. Responsible for providing IEventBroker is bundle org.eclipse.e4.ui.services. When this bundle was not started before execution of E4Application#createE4Workbench(), then the retrieval of IEventBroker fails and the application does not start. The problem is how to enforce that? In PDE, I just created a default Eclipse launch configuration, and pointed the workspace to an existing one. All plugins are started by default, no special order given. Is it in responsibility of PDE to ensure that org.eclipse.e4.ui.services is started? Or is it valid to enforce the start when E4Application#createE4Workbench() is called (a bundle requirement already exists, so we can be sure that this bundle is on platform).
Karsten, I believe this is a dup of bug 512052. *** This bug has been marked as a duplicate of bug 512052 ***