[SOLVED] Workbench: Could not run processor [message #1767936] |
Wed, 12 July 2017 09:22 |
|
I'm trying to build a true E4 application (based on http://www.vogella.com/tutorials/EclipseTycho/article.html#exercise-tycho-build-for-plug-ins and other vogella tutorials) and have run into the stack trace below on starting up the product which I think may point at a problem with the compatibility layer/the app not being true E4 (which I hoped I can make it).
The line from PrefUtil stuck out, and it seems the uiCallback is null, but at the moment I'm stuck for a solution.
Here's the relevant PrefUtil code:
/**
* Returns the API preference store.
*
* @return the API preference store
*/
public static IPreferenceStore getAPIPreferenceStore() {
if (uiPreferenceStore == null) {
Assert.isNotNull(uiCallback);
uiPreferenceStore = uiCallback.getPreferenceStore();
}
return uiPreferenceStore;
}
I've had a look at quite a few similar error reports, but none of the solutions there alleviate this problem, so I'd be thankful for any pointers. Thanks!
!ENTRY org.eclipse.e4.ui.workbench 2 0 2017-07-12 11:13:15.196
!MESSAGE Could not run processor
!STACK 0
org.eclipse.e4.core.di.InjectionException: org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:259)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.runProcessor(ModelAssembler.java:335)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.runProcessors(ModelAssembler.java:297)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(ModelAssembler.java:94)
at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:197)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:377)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:252)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:148)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
at org.eclipse.ui.internal.util.PrefUtil.getAPIPreferenceStore(PrefUtil.java:70)
at org.eclipse.ui.PlatformUI.getPreferenceStore(PlatformUI.java:194)
at org.eclipse.ui.internal.keys.BindingPersistence.readActiveScheme(BindingPersistence.java:379)
at org.eclipse.ui.internal.keys.BindingPersistence.reRead(BindingPersistence.java:1377)
at org.eclipse.ui.internal.keys.BindingPersistence.read(BindingPersistence.java:1281)
at org.eclipse.ui.internal.BindingToModelProcessor.process(BindingToModelProcessor.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 23 more
[Updated on: Wed, 12 July 2017 09:58] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03770 seconds