Error in applicationXMI argument [message #926572] |
Fri, 28 September 2012 19:39 |
Alberto Amaro Messages: 7 Registered: August 2012 |
Junior Member |
|
|
Hi
After many days working with an E4 Application without problems, suddenly I have the following error when I try to RUN the application.
org.eclipse.core.runtime.AssertionFailedException: null argument:applicationXMI argument missing at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
I suppose I have changed something related with ids or names, but I've spent many hours trying to identify the reason without success:
Besides, the plugin.xml has this property defined:
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<extension
id="product"
point="org.eclipse.core.runtime.products">
<product
application="org.eclipse.e4.ui.workbench.swt.E4Application"
name="es.aecid.IATI">
<property
name="appName"
value="es.aecid.IATI">
</property>
<property
name="applicationXMI"
value="es.aecid.IATI/Application.e4xmi">
</property>
<property
name="applicationCSS"
value="platform:/plugin/es.aecid.IATI/css/default.css">
</property>
</product>
</extension>
</plugin>
And when I debug the process I see that the appModelPath is null and, after, in the IF LOOP, the brandingBundle variable received from "appContext.getBrandingBundle()" is null too:
String appModelPath = getArgValue(E4Workbench.XMI_URI_ARG, appContext,
false);
if (appModelPath == null || appModelPath.length() == 0) {
Bundle brandingBundle = appContext.getBrandingBundle();
if (brandingBundle != null)
appModelPath = brandingBundle.getSymbolicName() + "/"
+ E4Application.APPLICATION_MODEL_PATH_DEFAULT;
}
Assert.isNotNull(appModelPath, E4Workbench.XMI_URI_ARG
+ " argument missing"); //$NON-NLS-1$
Any help is really, really appreciated.
Thanks
Alberto
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02999 seconds