Application could not be found in the registry. [message #488438] |
Mon, 28 September 2009 16:32 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Ken Keefe![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=kjkeefe%40gmail.com) Messages: 38 Registered: September 2009 |
Member |
|
|
A colleague of mine built a project using Eclipse 3.4 last year and I have been asked to resurrect the project and get it updated for Eclipse 3.5. I checked it out of CVS and tried to run it from the Plugin Testing section, "Launch an Eclipse Application." When I do this, I get the following error message:
!SESSION 2009-09-28 11:30:36.740 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -application edu.illinois.mobius.datamanager.application
Command-line arguments: -application edu.illinois.mobius.datamanager.application -data /Users/kjkeefe/workspace/../runtime-edu.illinois.mobius.datamanager.application -dev file:/Users/kjkeefe/workspace/.metadata/.plugins/org.eclipse.pde.core/edu.illinois.mobius.datamanager.application/dev.properties -os macosx -ws cocoa -arch x86
!ENTRY org.eclipse.osgi 4 0 2009-09-28 11:30:37.420
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "edu.illinois.mobius.datamanager.application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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-09-28 11:30:37.436
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-28 11:30:37.436
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.update.core_3.2.300.v20090525.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.update.core 2 0 2009-09-28 11:30:37.436
!MESSAGE Missing required bundle org.eclipse.core.net_[1.0.0,2.0.0).
!ENTRY org.eclipse.osgi 2 0 2009-09-28 11:30:37.437
!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 2009-09-28 11:30:37.437
!MESSAGE Bundle org.eclipse.update.ui_3.2.200.v20090213 [19] was not resolved.
!SUBENTRY 2 org.eclipse.update.ui 2 0 2009-09-28 11:30:37.437
!MESSAGE Missing required bundle org.eclipse.update.core_[3.1.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-28 11:30:37.437
!MESSAGE Bundle edu.illinois.mobius.datamanager_2.3.0 [24] was not resolved.
!SUBENTRY 2 edu.illinois.mobius.datamanager 2 0 2009-09-28 11:30:37.437
!MESSAGE Missing required bundle org.eclipse.update.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-28 11:30:37.437
!MESSAGE Bundle org.eclipse.update.core_3.2.300.v20090525 [25] was not resolved.
!SUBENTRY 2 org.eclipse.update.core 2 0 2009-09-28 11:30:37.438
!MESSAGE Missing required bundle org.eclipse.core.net_[1.0.0,2.0.0).
What does this mean? How do I add this application to the registry? Any help you can give for getting the application to run again would be GREATLY appreciated. Thanks!
|
|
|
Re: Application could not be found in the registry. [message #488439 is a reply to message #488438] |
Mon, 28 September 2009 16:39 ![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) |
|
Hi,
I suggest to check your launch configuration as described here:
http://www.vogella.de/articles/RichClientPlatform/article.ht ml#runconfiguration
Best regards, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Ken wrote:
> A colleague of mine built a project using Eclipse 3.4 last year and I
> have been asked to resurrect the project and get it updated for Eclipse
> 3.5. I checked it out of CVS and tried to run it from the Plugin Testing
> section, "Launch an Eclipse Application." When I do this, I get the
> following error message:
>
> !SESSION 2009-09-28 11:30:36.740
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_20
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
> Framework arguments: -application
> edu.illinois.mobius.datamanager.application
> Command-line arguments: -application
> edu.illinois.mobius.datamanager.application -data
> /Users/kjkeefe/workspace/../runtime-edu.illinois.mobius.data manager.application
> -dev
> file:/Users/kjkeefe/workspace/.metadata/.plugins/org.eclipse .pde.core/edu.illinois.mobius.datamanager.application/dev.pr operties
> -os macosx -ws cocoa -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2009-09-28 11:30:37.420
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application
> "edu.illinois.mobius.datamanager.application" could not be found in the
> registry. The applications available are: org.eclipse.equinox.app.error.
> 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:592)
> 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-09-28 11:30:37.436
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-28 11:30:37.436
> !MESSAGE Bundle
> initial@reference :file:plugins/org.eclipse.update.core_3.2.300.v20090525.jar/
> was not resolved.
> !SUBENTRY 2 org.eclipse.update.core 2 0 2009-09-28 11:30:37.436
> !MESSAGE Missing required bundle org.eclipse.core.net_[1.0.0,2.0.0).
>
> !ENTRY org.eclipse.osgi 2 0 2009-09-28 11:30:37.437
> !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 2009-09-28 11:30:37.437
> !MESSAGE Bundle org.eclipse.update.ui_3.2.200.v20090213 was not
> resolved.
> !SUBENTRY 2 org.eclipse.update.ui 2 0 2009-09-28 11:30:37.437
> !MESSAGE Missing required bundle org.eclipse.update.core_[3.1.0,4.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-28 11:30:37.437
> !MESSAGE Bundle edu.illinois.mobius.datamanager_2.3.0 was not
> resolved.
> !SUBENTRY 2 edu.illinois.mobius.datamanager 2 0 2009-09-28 11:30:37.437
> !MESSAGE Missing required bundle org.eclipse.update.ui_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2009-09-28 11:30:37.437
> !MESSAGE Bundle org.eclipse.update.core_3.2.300.v20090525 [25] was not
> resolved.
> !SUBENTRY 2 org.eclipse.update.core 2 0 2009-09-28 11:30:37.438
> !MESSAGE Missing required bundle org.eclipse.core.net_[1.0.0,2.0.0).
>
>
> What does this mean? How do I add this application to the registry? Any
> help you can give for getting the application to run again would be
> GREATLY appreciated. Thanks!
|
|
|
|
Re: Application could not be found in the registry. [message #488697 is a reply to message #488440] |
Tue, 29 September 2009 19:55 ![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) |
|
java.lang.ClassNotFoundException:
This might help:
http://www.vogella.de/articles/EclipseJarToPlugin/article.ht ml
Ken wrote:
> I think that helped quite a bit. Thanks for the reference. It appears
> that I was missing several plugins from my target. I think I have that
> fixed and now I am getting a very different error message. Any thoughts
> on what this one might be about?
>
> !SESSION 2009-09-28 11:52:03.378
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_20
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
> Framework arguments: -application
> edu.illinois.mobius.datamanager.application
> Command-line arguments: -application
> edu.illinois.mobius.datamanager.application -data
> /Users/kjkeefe/workspace/../runtime-edu.illinois.mobius.data manager.application
> -dev
> file:/Users/kjkeefe/workspace/.metadata/.plugins/org.eclipse .pde.core/edu.illinois.mobius.datamanager.application/dev.pr operties
> -os macosx -ws cocoa -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2009-09-28 11:52:04.033
> !MESSAGE Application error
> !STACK 1
> org.eclipse.core.runtime.CoreException: Plug-in
> edu.illinois.mobius.datamanager was unable to load class
> edu.illinois.mobius.datamanager.Application.
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .throwException(RegistryStrategyOSGI.java:180)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:162)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:189)
>
> 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:592)
> 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)
> Caused by: java.lang.ClassNotFoundException:
> edu.illinois.mobius.datamanager.Application
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> ... 16 more
>
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
|
|
|
|
Powered by
FUDForum. Page generated in 0.03157 seconds