Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Exporting e4 app product - exit code 13
Exporting e4 app product - exit code 13 [message #659687] Tue, 15 March 2011 05:23 Go to next message
AppleJus Mising name is currently offline AppleJus Mising name
Messages: 46
Registered: July 2010
Member
Hello,

I am having trouble exporting my app as a product.
I am using the export wizard and it exports successfully but when I double click to open the exported app I get an error message that starts with "Java was started but returned exit code = 13"

Running the app within the workspace works fine (running the product inside the platform also works fine).

I am using the integration build eclipse-SDK-I20110312-1300-win32 as platform.

I appreciate your help!!
Re: Exporting e4 app product - exit code 13 [message #659709 is a reply to message #659687] Tue, 15 March 2011 06:11 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de Alwis
Messages: 242
Registered: July 2009
Senior Member
Look through the log file; it's usually found in .../workspace/.metadata/.log.

There are a few differences between the env provided by PDE and the actual runtime environment. PDE's training wheels are a great help when you're developing, but losing them is painful when finally putting together your product!

My guesses:

(1) you're missing necessary files (e.g., Application.e4xmi) in your build.properties, and so they are not being exported. This should be revealed in your .log.

(2) you haven't specified start levels for key bundles like org.eclipse.equinox.ds. Tom posted earlier to this forum with an essential stanza for your .product file.

You can also try the Eclipse IRC for faster turn-around.
Re: Exporting e4 app product - exit code 13 [message #659903 is a reply to message #659709] Tue, 15 March 2011 21:13 Go to previous messageGo to next message
AppleJus Mising name is currently offline AppleJus Mising name
Messages: 46
Registered: July 2010
Member
Thank you for the guesses (1 was correct! ) and the tips!
Re: Exporting e4 app product - exit code 13 [message #728873 is a reply to message #659903] Sat, 24 September 2011 02:35 Go to previous messageGo to next message
Parvez Ahmad Hakim is currently offline Parvez Ahmad Hakim
Messages: 31
Registered: May 2010
Member
how to export E4 project . I see some errors in running the exported product
Parvez Ahmad Hakim
Srinagar www.abobjects.com
!SESSION 2011-09-23 11:07:40.531 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2011-09-23 11:07:50.609
!MESSAGE Product org.cord.client.dms.mainapp.e4.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2011-09-23 11:07:50.625
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:126)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.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(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Re: Exporting e4 app product - exit code 13 [message #729219 is a reply to message #728873] Sun, 25 September 2011 09:32 Go to previous message
Parvez Ahmad Hakim is currently offline Parvez Ahmad Hakim
Messages: 31
Registered: May 2010
Member
I get below error. please help

Parvez Ahmad Hakim
Srinagar www.abobjects.com
!SESSION 2011-09-23 11:07:40.531 -----------------------------------------------
!SESSION 2011-09-25 18:59:03.719 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2011-09-25 18:59:05.576
!MESSAGE Product kashmir.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2011-09-25 18:59:05.594
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:126)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.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(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Previous Topic:Seeking feedback on Google Summer of Code project idea
Next Topic:XWT not working in exports
Goto Forum:
  


Current Time: Fri Jul 25 09:03:10 EDT 2014

Powered by FUDForum. Page generated in 0.01626 seconds