Eclipse start problem after plugin installation - java

I use Eclipse 3.4.2 and just installed Android SDK plugin for eclipse. But After installation when I start the eclipse, I get error message
Here is what the log says
!SESSION 2011-03-07 11:13:53.163 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_23
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.osgi 4 0 2011-03-07 11:13:53.632
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
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:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
!ENTRY org.eclipse.osgi 2 0 2011-03-07 11:13:53.647
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-07 11:13:53.647
!MESSAGE Bundle reference:file:plugins\com.android.ide.eclipse.traceview_10.0.0.v201102162101-104271.jar was not resolved.
!SUBENTRY 2 com.android.ide.eclipse.traceview 2 0 2011-03-07 11:13:53.647
!MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.traceview 2 0 2011-03-07 11:13:53.647
!MESSAGE Missing required bundle org.eclipse.ui.ide_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.traceview 2 0 2011-03-07 11:13:53.648
!MESSAGE Missing required bundle org.eclipse.ui_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.traceview 2 0 2011-03-07 11:13:53.648
!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.traceview 2 0 2011-03-07 11:13:53.648
!MESSAGE Missing required bundle org.eclipse.core.resources_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.traceview 2 0 2011-03-07 11:13:53.648
!MESSAGE Missing required bundle org.eclipse.core.filesystem_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.traceview 2 0 2011-03-07 11:13:53.648
!MESSAGE Missing required bundle org.eclipse.jdt.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-07 11:13:53.648
!MESSAGE Bundle reference:file:plugins\com.android.ide.eclipse.hierarchyviewer_10.0.0.v201102162101-104271.jar was not resolved.
!SUBENTRY 2 com.android.ide.eclipse.hierarchyviewer 2 0 2011-03-07 11:13:53.648
Has anyone faced the same problem?

I have resolved the issue by reinstalling eclipse , not what I wanted, but I will go with this one at this moment.

A number of people have reported similar problems. There are several suggestions in that thread, but no definitive solutions. Only one of the suggestions worked for me - it's a way to revert eclipse to a previous state from the command line. It comes from this blog post.
In a terminal:
Go to the folder containing your eclipse install
ls -lt p2/org.eclipse.equinox.p2.engine/profileRegistry/<som_profile_name>.profile/
In my case <som_profile_name> was epp.package.java.profile, in Paul's blog SDKProfile.
You should see files like 1372434812558.profile.gz.
Choose a recent one with a date you feel sure is ok
Put together a command like:
eclipse -noSplash
-application org.eclipse.equinox.p2.director
-repository file:$(pwd)/p2/org.eclipse.equinox.p2.engine/profileRegistry/<som_profile_name>.profile
-profile <som_profile_name>
-revert 1372434812558
If that doesn't work, try adding -destination . (I did it successfully with -destination, but I think it should work without)

Related

Android Studio - can't run Android Device Manager

When I try to run the Android Device Manager, and I get an error message pointing me to a log file. The errors refer to Eclipse libraries. I do have Eclipse installed. I've previously had difficulties With Android Studio when it was installed with Eclipse and a JDK previously installed. Then I uninstalled everything Java related, and reinstalled them, and then everything worked. I've tried that again in this case, but I'm still stuck. I'm running win7.
Thanks for any suggestions.
Here's the log file contents:
!SESSION 2018-02-19 17:16:13.694 -----------------------------------------------
eclipse.buildId=unknown
java.version=9.0.4
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data #noDefault
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.350
!MESSAGE Bundle reference:file:org.apache.ant_1.8.3.v201301120609/#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.381
!MESSAGE Bundle reference:file:org.apache.jasper.glassfish_2.2.2.v201205150955.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.381
!MESSAGE Bundle reference:file:org.apache.lucene.core_2.9.1.v201101211721.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.709
!MESSAGE Bundle reference:file:org.eclipse.help.base_3.6.101.v201302041200.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.709
!MESSAGE Bundle reference:file:org.eclipse.help.ui_3.5.201.v20130108-092756.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.709
!MESSAGE Bundle reference:file:org.eclipse.help.webapp_3.6.101.v20130116-182509.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.724
!MESSAGE Bundle reference:file:org.eclipse.jetty.server_8.1.3.v20120522.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.771
!MESSAGE Bundle reference:file:org.eclipse.platform.doc.user_4.2.2.v20130121-200410.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.787
!MESSAGE Bundle reference:file:org.eclipse.team.core_3.6.100.v20120524-0627.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.787
!MESSAGE Bundle reference:file:org.eclipse.team.ui_3.6.201.v20130125-135424.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.802
!MESSAGE Bundle reference:file:org.eclipse.ui.cheatsheets_3.4.200.v20120521-2344.jar#4 not found.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:14.818
!MESSAGE Bundle reference:file:org.eclipse.ui.intro_3.4.200.v20120521-2344.jar#4 not found.
!ENTRY org.eclipse.core.runtime 4 0 2018-02-19 17:16:14.958
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.core.runtime_3.8.0.v20120912-155025 [46]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.equinox.common 4 0 2018-02-19 17:16:14.958
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.common_3.6.100.v20120522-1841 [84]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:15.021
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.core.runtime_3.8.0.v20120912-155025.jar was not resolved.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:15.021
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar was not resolved.
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:15.036
!MESSAGE Could not start bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not start bundle: org.eclipse.equinox.console
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:217)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.console_1.0.0.v20120522-1841 [85]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:215)
... 10 more
Root exception:
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.console_1.0.0.v20120522-1841 [85]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:215)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
!ENTRY org.eclipse.osgi 2 0 2018-02-19 17:16:15.099
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-19 17:16:15.099
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.equinox.p2.director_2.2.0.v20120524-0542.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.p2.director 2 0 2018-02-19 17:16:15.099
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-19 17:16:15.099
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.ecf.provider.filetransfer_3.2.0.v20120610-1946.jar was not resolved.
!SUBENTRY 2 org.eclipse.ecf.provider.filetransfer 2 0 2018-02-19 17:16:15.099
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-19 17:16:15.099
etc - missing packages -
!SUBENTRY 2 org.sat4j.pb 2 0 2018-02-19 17:16:15.192
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.4))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-19 17:16:15.192
!MESSAGE Bundle org.w3c.css.sac_1.3.1.v200903091627 [175] was not resolved.
!SUBENTRY 2 org.w3c.css.sac 2 0 2018-02-19 17:16:15.192
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-19 17:16:15.192
!MESSAGE Bundle org.w3c.dom.smil_1.0.0.v200806040011 [176] was not resolved.
!SUBENTRY 2 org.w3c.dom.smil 2 0 2018-02-19 17:16:15.192
!MESSAGE Missing imported package org.w3c.dom_0.0.0.
!SUBENTRY 2 org.w3c.dom.smil 2 0 2018-02-19 17:16:15.192
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-02-19 17:16:15.192
!MESSAGE Bundle org.w3c.dom.svg_1.1.0.v201011041433 [177] was not resolved.
!SUBENTRY 2 org.w3c.dom.svg 2 0 2018-02-19 17:16:15.192
!MESSAGE Missing required bundle org.w3c.dom.smil_[1.0.0,1.1.0).
!SUBENTRY 2 org.w3c.dom.svg 2 0 2018-02-19 17:16:15.192
!MESSAGE Missing imported package org.w3c.dom_0.0.0.
!SUBENTRY 2 org.w3c.dom.svg 2 0 2018-02-19 17:16:15.192
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
!ENTRY org.eclipse.osgi 4 0 2018-02-19 17:16:15.208
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Eclipse don't run

Hello I tried to install eclipse, but I doing something wrong, a few moments ago I install eclipse via terminal. Just hit apt install eclipse. I have JDK 9 and JRE 9. Eclipse give me a error log.
This is my error log
eclipse.buildId=debbuild
java.version=9.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2018-03-02 16:41:15.343
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.simpleconfigurator_1.0.301.dist [1]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.osgi 4 0 2018-03-02 16:41:15.351
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar was not resolved.
!ENTRY org.eclipse.osgi 2 0 2018-03-02 16:41:15.360
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-03-02 16:41:15.360
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.dist.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2018-03-02 16:41:15.360
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".
!ENTRY org.eclipse.osgi 2 0 2018-03-02 16:41:15.362
!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 2018-03-02 16:41:15.362
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.301.dist [1] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2018-03-02 16:41:15.362
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".
!ENTRY org.eclipse.osgi 4 0 2018-03-02 16:41:15.363
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
What happened?
The version of Eclipse you are trying to use (probaby 3.8 or 4.2 judging by the plugin ids) is very old and doesn't understand Java 9. The layout of the Java 9 JRE/JDK directories has changed significantly and this is confusing this old Eclipse.
Use Eclipse Oxygen.2 4.7.2 to run with Java 9 or use Java 8 to run the old version of Eclipse.

Eclipse e4 program will not start

I hava an Eclipse E4 application. I want to have a runnable exe file. The export of the exe file don't got any errors. But when I start the exported application the program doesn't start and give those errors:
!SESSION 2016-08-29 08:55:19.759 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_102
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -clearPersistedState
Command-line arguments: -os win32 -ws win32 -arch x86_64 -clearPersistedState
!ENTRY CR-IT_client 4 0 2016-08-29 08:55:20.930
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: CR-IT_client [26]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.launcher; bundle-version="1.3.100"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.equinox.app 0 0 2016-08-29 08:55:21.309
!MESSAGE Product CR-IT_client.product could not be found.
!ENTRY org.eclipse.equinox.launcher.win32.win32.x86_64 2 0 2016-08-29 08:55:21.653
!MESSAGE Could not resolve module: org.eclipse.equinox.launcher.win32.win32.x86_64 [40]
Unresolved requirement: Fragment-Host: org.eclipse.equinox.launcher; bundle-version="[1.0.0,1.4.0)"
!ENTRY CR-IT_client 2 0 2016-08-29 08:55:21.653
!MESSAGE Could not resolve module: CR-IT_client [26]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.launcher; bundle-version="1.3.100"
!ENTRY org.eclipse.osgi 4 0 2016-08-29 08:55:21.654
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.emf.common.util.URI$URIPool$PlatformAccessUnit.setValue(URI.java:865)
at org.eclipse.emf.common.util.URI$URIPool.intern(URI.java:1949)
at org.eclipse.emf.common.util.URI.createPlatformPluginURI(URI.java:2718)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.determineApplicationModelURI(E4Application.java:426)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:350)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:254)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:145)
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:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
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:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
In Eclipse IDE it can run, but when I export it I got an error.
Someone that can help me with this?
The org.eclipse.equinox.launcher plug-in is missing from the build (or possibly it is present but has the wrong version).
The configuration of plug-ins included in the RCP is separate from the configuration for the plug-ins used when you test your RCP from within Eclipse.
If you are using a '.product' file for the RCP go to the 'Contents' tab in the .product file editor and click the 'Add Required' button to add all the required plugins to the product. For a normal RCP there should be something like 100+ plugins in the contents list. Then rebuild the RCP.
In the above I am assuming you are using a 'plug-ins based' product configuration.

eclipse product launching with manual export but not with tycho build no application id has been found dependency leaf issue

I am trying to automate the build of an rcp application I have it working fine when I create my export an eclipse product however when I generate my rcp application using maven with the tycho plugin it fails to launch when I go to the target and double click the launcher
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
however when I do a mvn install my package is installed I have my launcher however it fails with the following error log in the config:
!SESSION 2013-09-01 16:30:34.345 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IE
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.equinox.app 0 0 2013-09-01 16:30:35.484
!MESSAGE Product com.hallahan.premierplugin.premierProduct could not be found.
!ENTRY org.eclipse.osgi 2 0 2013-09-01 16:30:35.562
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.562
!MESSAGE Bundle initial#reference:file:plugins/org.w3c.dom.svg_1.1.0.v201011041433.jar was not resolved.
!SUBENTRY 2 org.w3c.dom.svg 2 0 2013-09-01 16:30:35.562
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.562
!MESSAGE Bundle initial#reference:file:plugins/org.w3c.dom.smil_1.0.1.v200903091627.jar was not resolved.
!SUBENTRY 2 org.w3c.dom.smil 2 0 2013-09-01 16:30:35.562
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
!SUBENTRY 2 org.w3c.dom.smil 2 0 2013-09-01 16:30:35.562
!MESSAGE Missing imported package org.w3c.dom.events_[3.0.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.562
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.ui_3.104.0.v20121024-145224.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui 2 0 2013-09-01 16:30:35.562
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!ENTRY org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!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 2013-09-01 16:30:35.608
!MESSAGE Bundle com.hallahan.premierplugin_1.0.0.201309011530 [1] was not resolved.
!SUBENTRY 2 com.hallahan.premierplugin 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.apache.batik.css_1.6.0.v201011041432 [6] was not resolved.
!SUBENTRY 2 org.apache.batik.css 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.w3c.dom.svg_[1.1.0,1.3.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.e4.ui.css.core_0.10.2.v20120912-132817 [24] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.core 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.apache.batik.css_[1.6.0,1.7.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.e4.ui.css.swt_0.10.3.v20130123-162658 [25] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.e4.ui.css.swt.theme_0.9.4.v20130123-162658 [26] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.1.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.e4.ui.workbench.addons.swt_0.10.3.v20130124-185622 [32] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.addons.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.renderers.swt_0.9.1.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.addons.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.1.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.addons.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.addons.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing imported package org.eclipse.e4.ui.internal.workbench.swt_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.e4.ui.workbench.renderers.swt_0.10.3.v20130124-170312 [33] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.swt_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.e4.ui.workbench.swt_0.10.3.v20130124-133900 [34] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing imported package org.apache.batik.css.engine_1.6.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.ui_3.104.0.v20121024-145224 [55] was not resolved.
!SUBENTRY 2 org.eclipse.ui 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.ui.workbench_[3.103.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.eclipse.ui.workbench_3.104.0.v20130204-164612 [56] was not resolved.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.swt_0.9.1.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.1.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.addons.swt_0.10.0.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing imported package org.eclipse.e4.ui.internal.workbench.renderers.swt_0.0.0.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing imported package org.eclipse.e4.ui.internal.workbench.swt_0.0.0.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing imported package org.eclipse.e4.ui.workbench.renderers.swt_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.w3c.dom.smil_1.0.1.v200903091627 [58] was not resolved.
!SUBENTRY 2 org.w3c.dom.smil 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing imported package org.w3c.dom.events_[3.0.0,4.0.0).
!SUBENTRY 2 org.w3c.dom.smil 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-09-01 16:30:35.608
!MESSAGE Bundle org.w3c.dom.svg_1.1.0.v201011041433 [59] was not resolved.
!SUBENTRY 2 org.w3c.dom.svg 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required bundle org.w3c.dom.smil_[1.0.0,1.1.0).
!SUBENTRY 2 org.w3c.dom.svg 2 0 2013-09-01 16:30:35.608
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
!ENTRY org.eclipse.osgi 4 0 2013-09-01 16:30:35.608
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
There appears to be some problem with the dependency of my plugin
osgi> diag 1
initial#reference:file:plugins/com.hallahan.premierplugin_1.0.0.201309021643.jar
[1]
Direct constraints which are unresolved:
Missing required bundle org.eclipse.ui_0.0.0.
Leaf constraints in the dependency chain which are unresolved:
initial#reference:file:plugins/org.w3c.dom.smil_1.0.1.v200903091627.jar [62]
Missing imported package org.w3c.dom.events_[3.0.0,4.0.0).
initial#reference:file:plugins/org.w3c.dom.smil_1.0.1.v200903091627.jar [62]
Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi
.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundati
on)(version=1.0)))".
initial#reference:file:plugins/org.eclipse.ui_3.104.0.v20121024-145224.jar [
59]
Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi
.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
initial#reference:file:plugins/org.w3c.dom.svg_1.1.0.v201011041433.jar [63]
Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi
.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundati
on)(version=1.0)))".
osgi>
I have this sorted I identified that there was a discrepancy between the plugins of the manually exported plugins in eclipse against the plugins that were being downloaded from the Juno repository using the maven tycho download.
The org.w3c.dom.smil version 1.0.1 was being downloaded which had a missing dependency. While the manual export which was using the running platform target platform(Kerpler) was version 1.0.0.
I discovered this by doing a diff on the plugins directory of both files.
To get around this I created a tycho target platform file and used this as my target for my build instead of the repository.
I was seeing exactly the same issue, except that I was trying to run the product through webstart. The PDE export wizard used org.w3c.dom.smil_1.0.0.v200806040011.jar but Tycho's target platform (repository http://download.eclipse.org/releases/kepler) somehow used org.w3c.dom.smil_1.0.1.v200903091627.jar instead which gave me a similar error message.
Weird thing is that my Tycho product could still be launched through the .exe.
EDIT: I think I know the cause. My product is based on features and includes org.w3c.dom.smil (0.0.0) which means: use latest available version in the repository. I guess Tycho found a newer version, but it does not automatically include transitive dependencies. It's probably a good idea to configure Eclipse to use exactly the same target platform as Tycho, I think I would have found the issue sooner.

Zest Graph - editable or non-editable? How does one start making a class?

I'm working on a project, where I intend to make a class in JAVA using which I could create a graph. To put it in detail, I'd like to create 2 interfaces - VERTEX and EDGE, each one having methods like addVertex(), addEdge(), neighborVertex(), numOfNeighbors() etc., and my class (call it Graph) will implement the aforementioned interfaces.
I'm a real novice at JAVA at the moment, and was wondering how to go ahead using ZEST? Also, would the graph be editable if I use ZEST?
The tutorial by Lars Vogel helped me, but I'm still unable to get it working. How can I resolve the following errors?
!SESSION 2012-08-30 13:00:20.498 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application first.prog.zest.jface.application
Command-line arguments: -application first.prog.zest.jface.application -data D:\Workspace/../runtime-first.prog.zest.jface.application -dev file:D:/Workspace/.metadata/.plugins/org.eclipse.pde.core/first.prog.zest.jface.application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
!ENTRY org.eclipse.osgi 2 0 2012-08-30 13:01:06.592
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-30 13:01:06.592
!MESSAGE Bundle reference:file:/D:/Workspace/first.prog.zest.jface/ was not resolved.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.592
!MESSAGE Missing required bundle org.eclipse.zest.layouts.source_1.1.0.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.592
!MESSAGE Missing required bundle org.eclipse.zest.core.source_1.3.0.
!ENTRY org.eclipse.osgi 2 0 2012-08-30 13:01:06.608
!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 2012-08-30 13:01:06.608
!MESSAGE Bundle first.prog.zest.jface_1.0.0.qualifier [93] was not resolved.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.608
!MESSAGE Missing required bundle org.eclipse.zest.core.source_1.3.0.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.608
!MESSAGE Missing required bundle org.eclipse.zest.layouts.source_1.1.0.
!ENTRY org.eclipse.osgi 2 0 2012-08-30 13:01:06.749
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-30 13:01:06.749
!MESSAGE Bundle reference:file:/D:/Workspace/first.prog.zest.jface/ was not resolved.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.749
!MESSAGE Missing required bundle org.eclipse.zest.layouts.source_1.1.0.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.749
!MESSAGE Missing required bundle org.eclipse.zest.core.source_1.3.0.
!ENTRY org.eclipse.osgi 2 0 2012-08-30 13:01:06.749
!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 2012-08-30 13:01:06.749
!MESSAGE Bundle first.prog.zest.jface_1.0.0.qualifier [93] was not resolved.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.749
!MESSAGE Missing required bundle org.eclipse.zest.core.source_1.3.0.
!SUBENTRY 2 first.prog.zest.jface 2 0 2012-08-30 13:01:06.749
!MESSAGE Missing required bundle org.eclipse.zest.layouts.source_1.1.0.
!ENTRY org.eclipse.osgi 4 0 2012-08-30 13:01:06.764
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "first.prog.zest.jface.application" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.cdt.codan.core.application, org.eclipse.cdt.core.GeneratePDOM, org.eclipse.cdt.managedbuilder.core.headlessbuild, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
The error log reads as follows:
java.lang.RuntimeException: Application "first.prog.zest.jface.application" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.cdt.codan.core.application, org.eclipse.cdt.core.GeneratePDOM, org.eclipse.cdt.managedbuilder.core.headlessbuild, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
If you want to visualize your graph with Zest, you would have to transform your own graph objects into Zest graphs, or use the Zest objects in the first place. Have a look at some samples in the Eclipse wiki and this tutorial.
The graph would not be editable with Zest (which focuses on visualization), but being SWT-based you can make your graph interactive (add listeners to nodes etc.). If you want graph editing have a look at Graphiti or maybe something like JUNG.

Categories

Resources