Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » "null argument:applicationXMI argument missing" when starting e4 RCP application
"null argument:applicationXMI argument missing" when starting e4 RCP application [message #628879] Fri, 24 September 2010 11:02 Go to next message
Andre Preussner is currently offline Andre Preussner
Messages: 7
Registered: April 2010
Junior Member
Hello,

I try to deploy an e4 RCP application as stand-alone app, but I can't find the root of this error:

!SESSION 2010-09-24 16:35:05.151 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2010-09-24 16:35:07.708
!MESSAGE Product com.sap.tm.ui.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2010-09-24 16:35:07.724
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.724
!MESSAGE Bundle initial@reference:file:plugins/com.sap.conn.jco_1.0.0/ was not resolved.
!SUBENTRY 2 com.sap.conn.jco 2 0 2010-09-24 16:35:07.724
!MESSAGE Missing host Bundle-NativeCode_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
!MESSAGE Bundle com.sap.conn.jco_1.0.0 [3] was not resolved.
!SUBENTRY 2 com.sap.conn.jco 2 0 2010-09-24 16:35:07.726
!MESSAGE Missing host Bundle-NativeCode_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
!MESSAGE Bundle com.sap.rfc.tm_1.0.0.201009241626 [4] was not resolved.
!SUBENTRY 2 com.sap.rfc.tm 2 0 2010-09-24 16:35:07.726
!MESSAGE Missing required bundle de.vogella.sap.rfc.core_1.0.0.
!SUBENTRY 2 com.sap.rfc.tm 2 0 2010-09-24 16:35:07.726
!MESSAGE Missing required bundle com.sap.conn.jco_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
!MESSAGE Bundle com.sap.tm.ui_1.0.0.201009241626 [6] was not resolved.
!SUBENTRY 2 com.sap.tm.ui 2 0 2010-09-24 16:35:07.726
!MESSAGE Missing required bundle com.sap.rfc.tm_1.0.0.
!SUBENTRY 2 com.sap.tm.ui 2 0 2010-09-24 16:35:07.727
!MESSAGE Missing required bundle de.vogella.sap.rfc.core_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.727
!MESSAGE Bundle de.vogella.sap.rfc.core_1.0.0 [7] was not resolved.
!SUBENTRY 2 de.vogella.sap.rfc.core 2 0 2010-09-24 16:35:07.727
!MESSAGE Missing required bundle com.sap.conn.jco_1.0.0.

!ENTRY org.eclipse.osgi 4 0 2010-09-24 16:35:07.731
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.AssertionFailedException: null argument:applicationXMI argument missing
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadA pplicationModel(E4Application.java:271)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.creat eE4Workbench(E4Application.java:185)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start (E4Application.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)


I already checked that the Application.e4xmi is included in the plugin jar, and it is also mentioned in the plugin.xml. What else could be wrong? Is there something in the deployment process, that I could have made wrong?

Kind Regards,
André
Re: "null argument:applicationXMI argument missing" when starting e4 RCP application [message #628898 is a reply to message #628879] Fri, 24 September 2010 12:02 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5247
Registered: July 2009
Senior Member
I think your main problem is that you have a dependency problem to
(looks like your Bundle-NativeCode has problems and finding dlls probably).

Did you check if the dlls are part of your build.properties?

Tom

Am 24.09.10 17:02, schrieb Andre Preussner:
> Hello,
>
> I try to deploy an e4 RCP application as stand-alone app, but I can't
> find the root of this error:
>
> !SESSION 2010-09-24 16:35:05.151
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.equinox.app 0 0 2010-09-24 16:35:07.708
> !MESSAGE Product com.sap.tm.ui.product could not be found.
>
> !ENTRY org.eclipse.osgi 2 0 2010-09-24 16:35:07.724
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.724
> !MESSAGE Bundle
> mailto:initial@reference:file:plugins/com.sap.conn.jco_1.0.0/ was not
> resolved.
> !SUBENTRY 2 com.sap.conn.jco 2 0 2010-09-24 16:35:07.724
> !MESSAGE Missing host Bundle-NativeCode_0.0.0.
>
> !ENTRY org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
> !MESSAGE Bundle com.sap.conn.jco_1.0.0 [3] was not resolved.
> !SUBENTRY 2 com.sap.conn.jco 2 0 2010-09-24 16:35:07.726
> !MESSAGE Missing host Bundle-NativeCode_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
> !MESSAGE Bundle com.sap.rfc.tm_1.0.0.201009241626 [4] was not resolved.
> !SUBENTRY 2 com.sap.rfc.tm 2 0 2010-09-24 16:35:07.726
> !MESSAGE Missing required bundle de.vogella.sap.rfc.core_1.0.0.
> !SUBENTRY 2 com.sap.rfc.tm 2 0 2010-09-24 16:35:07.726
> !MESSAGE Missing required bundle com.sap.conn.jco_1.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.726
> !MESSAGE Bundle com.sap.tm.ui_1.0.0.201009241626 [6] was not resolved.
> !SUBENTRY 2 com.sap.tm.ui 2 0 2010-09-24 16:35:07.726
> !MESSAGE Missing required bundle com.sap.rfc.tm_1.0.0.
> !SUBENTRY 2 com.sap.tm.ui 2 0 2010-09-24 16:35:07.727
> !MESSAGE Missing required bundle de.vogella.sap.rfc.core_1.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-09-24 16:35:07.727
> !MESSAGE Bundle de.vogella.sap.rfc.core_1.0.0 [7] was not resolved.
> !SUBENTRY 2 de.vogella.sap.rfc.core 2 0 2010-09-24 16:35:07.727
> !MESSAGE Missing required bundle com.sap.conn.jco_1.0.0.
>
> !ENTRY org.eclipse.osgi 4 0 2010-09-24 16:35:07.731
> !MESSAGE Application error
> !STACK 1
> org.eclipse.core.runtime.AssertionFailedException: null
> argument:applicationXMI argument missing
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadA
> pplicationModel(E4Application.java:271)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application.creat
> eE4Workbench(E4Application.java:185)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start
> (E4Application.java:112)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
>
>
> I already checked that the Application.e4xmi is included in the plugin
> jar, and it is also mentioned in the plugin.xml. What else could be
> wrong? Is there something in the deployment process, that I could have
> made wrong?
>
> Kind Regards,
> André
icon14.gif  Re: "null argument:applicationXMI argument missing" when starting e4 RCP application [message #628905 is a reply to message #628898] Fri, 24 September 2010 12:45 Go to previous message
Andre Preussner is currently offline Andre Preussner
Messages: 7
Registered: April 2010
Junior Member
Hi Tom,

you are right, I'm using a plugin which includes a dll. After adding this dll in the build.properties of that plugin, the application starts. Thanks a lot!

Kind Regards,
André
Previous Topic:P2 UI menu contributions in E4 application
Next Topic:[XWT] Custom Widgets & Databinding
Goto Forum:
  


Current Time: Mon Jul 28 04:25:10 EDT 2014

Powered by FUDForum. Page generated in 0.02256 seconds