Home » Newcomers » Newcomers » Workbench could not be found in the registry(Application dies in workbench with Application "org.eclipse.ui.ide.workbench" could not be found in the registry error?)
Workbench could not be found in the registry [message #489774] |
Mon, 05 October 2009 20:51 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Mike S![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=mike.stapleton%40echostar.com) Messages: 21 Registered: July 2009 |
Junior Member |
|
|
Don't know if this is the correct place to be asking this but here goes? I started using Eclipse 3.5 and after installing and cleaning up some errors due to the changes to CDO interface it appeared to be working alright except for the project I had set up to test my application which had a error indicator on the project but nothing indicating any Java error in any files. I ran my application as a plugin and it appeared to be working out OK. I added the erlang IDE plugin and created an erlang project around this time. I finally got back to getting the error out of my application test project and and tried to run it and I get the following errors:
!SESSION 2009-10-05 13:55:04.198 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data /home/stapleton/devel/eclipseProjects/newDM/../runtime-Eclip seApplication -dev file:/home/stapleton/devel/eclipseProjects/newDM/.metadata/. plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os linux -ws gtk -arch x86
!ENTRY org.eclipse.osgi 4 0 2009-10-05 13:55:06.237
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.emf.cdo.server.app, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.equinox.app.error, 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.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.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(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(EclipseS tarter.java:368)
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: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
!ENTRY org.eclipse.osgi 2 0 2009-10-05 13:55:07.681
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-05 13:55:07.681
!MESSAGE Bundle reference:file:/home/stapleton/devel/eclipse_modeling35/ecli pse/plugins/org.eclipse.pde.core_3.5.0.v20090602.jar was not resolved.
!SUBENTRY 2 org.eclipse.pde.core 2 0 2009-10-05 13:55:07.681
!MESSAGE Missing required bundle org.eclipse.equinox.p2.repository_[1.0.0,2.0.0).
and these last messages run on quit a bit for many bundles? My plugin gets executed from the Navigational window and now it won't even show up in the menu. This is something that has been working for months? Now where my plugin menu item used to be is the menu item "Generate Ecore DSL" when an ecore file is selected. Used to have my own menu item that used the .ecore file to build Google Protocol Messages? Anyone seen this before and have an idea of what is happening and how it can be corrected?
Thanks,
Mike
.
|
|
|
Re: Workbench could not be found in the registry [message #490055 is a reply to message #489774] |
Wed, 07 October 2009 06:11 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
Looks like you are missing bundles. See here to check you launch
configuration:
http://www.vogella.de/articles/RichClientPlatform/article.ht ml#runconfiguration
Mike Stapleton wrote:
> Don't know if this is the correct place to be asking this but here goes?
> I started using Eclipse 3.5 and after installing and cleaning up some
> errors due to the changes to CDO interface it appeared to be working
> alright except for the project I had set up to test my application which
> had a error indicator on the project but nothing indicating any Java
> error in any files. I ran my application as a plugin and it appeared to
> be working out OK. I added the erlang IDE plugin and created an erlang
> project around this time. I finally got back to getting the error out of
> my application test project and and tried to run it and I get the
> following errors:
>
> !SESSION 2009-10-05 13:55:04.198
> -----------------------------------------------
> eclipse.buildId=I20090611-1540
> java.version=1.6.0_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Framework arguments: -product org.eclipse.platform.ide
> Command-line arguments: -product org.eclipse.platform.ide -data
> /home/stapleton/devel/eclipseProjects/newDM/../runtime-Eclip
> seApplication -dev
> file:/home/stapleton/devel/eclipseProjects/newDM/.metadata/.
> plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os
> linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2009-10-05 13:55:06.237
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench"
> could not be found in the registry. The applications available are:
> org.eclipse.ant.core.antRunner, org.eclipse.emf.cdo.server.app,
> org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger,
> org.eclipse.emf.codegen.ecore.Generator, org.eclipse.equinox.app.error,
> 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.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.update.core.standaloneUpdate,
> org.eclipse.update.core.siteOptimizer.
> at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe
> faultApp(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(EclipseS
> tarter.java:368)
> 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: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
> !ENTRY org.eclipse.osgi 2 0 2009-10-05 13:55:07.681
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-10-05 13:55:07.681
> !MESSAGE Bundle
> reference:file:/home/stapleton/devel/eclipse_modeling35/ecli
> pse/plugins/org.eclipse.pde.core_3.5.0.v20090602.jar was not resolved.
> !SUBENTRY 2 org.eclipse.pde.core 2 0 2009-10-05 13:55:07.681
> !MESSAGE Missing required bundle
> org.eclipse.equinox.p2.repository_[1.0.0,2.0.0).
>
> and these last messages run on quit a bit for many bundles? My plugin
> gets executed from the Navigational window and now it won't even show up
> in the menu. This is something that has been working for months? Now
> where my plugin menu item used to be is the menu item "Generate Ecore
> DSL" when an ecore file is selected. Used to have my own menu item that
> used the .ecore file to build Google Protocol Messages? Anyone seen this
> before and have an idea of what is happening and how it can be corrected?
>
> Thanks,
> Mike
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
|
|
| | | | |
Goto Forum:
Current Time: Wed Feb 05 08:47:05 GMT 2025
Powered by FUDForum. Page generated in 0.10142 seconds
|