Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Problems with product expor

Hello,

I am giving e4 a testdrive and am having problems exporting a product. To provide the context i will describe the steps i've taken:

  1. Download the 4.1 release from http://download.eclipse.org/e4/sdk/
  2. Install the following plug-ins:
    • Eclipse e4 Modeled Workbench
    • Eclipse e4 Modeled Workbench Source
    • Eclipse e4 Tools
    • Eclipse e4 Tools Source
  3. Create e4 application using e4 Application project wizard (all the defaults are preserved)

The resulting project contains a product file. When i test the application using the command "Launch an eclipse application" the application starts without problems.
When exporting the product using the "Eclipse Product export wizard" i am unable to start the exported application.The log (attached as annex) contains the following errors :
  • Product testProject.product could not be found
  • NullPointerException at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:126)

Can someone explain the reason why i get these errors? (Is there a known bug, what has to be done to solve these errors, ...)


I have also a question about the dependencies of the generated bundle:

When i look at the dependencies in the manifest i see that mostly Require-Bundle is used (also for e4 bundles). Is there a particular reason why Import-Package isn't used?

Kind regards,
Davy Meers






!SESSION 2011-07-07 10:58:07.693 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2011-07-07 10:58:10.115
!MESSAGE Product testProject.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2011-07-07 10:58:10.146
!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)

Back to the top