How to setup Equinox properly [message #1225345] |
Sun, 29 December 2013 14:11 |
Ulrich Schmidt Messages: 11 Registered: January 2013 |
Junior Member |
|
|
I'm totally new to Equinox but try to get familiar to OSGi and my study book depends on Equinox. So I started to run Equinox from Eclipse, but am not successful until now. I'm missing a fundamental description how to get started and control Equinox. I managed to start it as a standalone application but I still get a bunch of error messages. My problem is very similiar to this one.
I'm running the most recent Eclipse Kepler 4.3.1 (instead of Indigo as descibed there). I have just downloaded it and nothing else installed. I'm starting with a plain working space. All what I did is to add "Equinox" to the "OSGi Framework" in the "Run configurations" menue.
After starting, I get these messages (excerpt; find the complete text attached):
osgi> !SESSION 2013-12-29 15:02:00.399 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -dev file:E:/$SysProg/Eclipse/temp/.metadata/.plugins/org.eclipse.pde.core/Equinox2/dev.properties -consoleLog -console
!ENTRY org.eclipse.core.resources 2 10035 2013-12-29 15:02:06.006
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.datatools.enablement.oda.ws.ui 4 0 2013-12-29 15:02:06.179
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.datatools.enablement.oda.ws.ui.Activator.start() of bundle org.eclipse.datatools.enablement.oda.ws.ui.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
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)
Caused by: org.eclipse.swt.SWTError: Invalid thread access
at org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(AbstractUIPlugin.java:213)
at org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(AbstractUIPlugin.java:257)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.declareImage(Activator.java:82)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.declareImage(Activator.java:77)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.declareImages(Activator.java:59)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.start(Activator.java:54)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 12 more
Root exception:
org.eclipse.swt.SWTError: Invalid thread access
at org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(AbstractUIPlugin.java:213)
at org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(AbstractUIPlugin.java:257)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.declareImage(Activator.java:82)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.declareImage(Activator.java:77)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.declareImages(Activator.java:59)
at org.eclipse.datatools.enablement.oda.ws.ui.Activator.start(Activator.java:54)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
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)
Equinox seems to be fully functional, but I'm annoyed by the error messages. I've no clue where they come from, what they mean and how to get rid of them.
Thanks a lot for an help. And for any hint to a good "getting started" guide.
|
|
|
Powered by
FUDForum. Page generated in 0.03643 seconds