Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » java.lang.RuntimeException: Application "xxxxx" could not be found in the registry
java.lang.RuntimeException: Application "xxxxx" could not be found in the registry [message #1707076] Wed, 02 September 2015 06:23 Go to next message
Jingang Zhou is currently offline Jingang ZhouFriend
Messages: 57
Registered: December 2010
Member
Hello,

My application can be lanuched in testing mode (i.e., with the .product file) in Eclipse environment. But when I export it (without any errors), it cannot be lanuched properly and reports the following error:

...
!ENTRY org.eclipse.ui.win32 2 0 2015-09-02 14:16:10.130
!MESSAGE Could not resolve module: org.eclipse.ui.win32 [103]
  Unresolved requirement: Fragment-Host: org.eclipse.ui.ide; bundle-version="[3.2.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.ui.ide; bundle-version="3.10.2.v20141118-1227"; singleton:="true"
       org.eclipse.ui.ide [80]
         Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="[3.106.0,4.0.0)"
           -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.1.v20141002-1150"; singleton:="true"
              org.eclipse.ui [77]
                Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
                  -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.2.v20150204-1030"; singleton:="true"
                     org.eclipse.ui.workbench [85]
                       Unresolved requirement: Import-Package: org.eclipse.e4.ui.internal.workbench.renderers.swt
                         -> Export-Package: org.eclipse.e4.ui.internal.workbench.renderers.swt; bundle-symbolic-name="org.eclipse.e4.ui.workbench.renderers.swt"; bundle-version="0.12.2.v20150204-1353"; version="0.0.0"; x-friends:="org.eclipse.ui.workbench"
                            org.eclipse.e4.ui.workbench.renderers.swt [44]
                              Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.workbench.swt; bundle-version="0.9.0"
                                -> Bundle-SymbolicName: org.eclipse.e4.ui.workbench.swt; bundle-version="0.12.100.v20141126-1150"; singleton:="true"
                                   org.eclipse.e4.ui.workbench.swt [45]
                                     Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.css.core; bundle-version="0.9.0"
                                       -> Bundle-SymbolicName: org.eclipse.e4.ui.css.core; bundle-version="0.10.100.v20140424-2042"; singleton:="true"
                                          org.eclipse.e4.ui.css.core [35]
                                            Unresolved requirement: Require-Bundle: org.apache.batik.css; bundle-version="1.7.0"


!ENTRY org.eclipse.e4.ui.css.swt 2 0 2015-09-02 14:16:10.131
!MESSAGE Could not resolve module: org.eclipse.e4.ui.css.swt [36]
  Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.css.core; bundle-version="0.9.0"
    -> Bundle-SymbolicName: org.eclipse.e4.ui.css.core; bundle-version="0.10.100.v20140424-2042"; singleton:="true"
       org.eclipse.e4.ui.css.core [35]
         Unresolved requirement: Require-Bundle: org.apache.batik.css; bundle-version="1.7.0"


!ENTRY org.eclipse.osgi 4 0 2015-09-02 14:16:10.132
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "com.neusoft.ipr.license.checker" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error.
	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: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:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)



Any suggestions would be appreciated. I use Eclipse Luna 4.4.2 and JDK 1.8.

BTW: most of the unrosolved bundles point to the bundle org.apache.batik.css, but it is really in the plugin list.

Thanks advance.
Re: java.lang.RuntimeException: Application "xxxxx" could not be found in the registry [message #1707092 is a reply to message #1707076] Wed, 02 September 2015 08:49 Go to previous messageGo to next message
Jingang Zhou is currently offline Jingang ZhouFriend
Messages: 57
Registered: December 2010
Member
My problem is solved.

This problem occurs because of missing org.apache.batik.css. Though this bundle is really in the plugins directory, but is not listed in the config.ini (in configuration directory). So, I manually add it in the ini file, it works. I do not know why this happens.
Re: java.lang.RuntimeException: Application "xxxxx" could not be found in the registry [message #1753020 is a reply to message #1707092] Wed, 01 February 2017 08:21 Go to previous message
Natalie Mogilka is currently offline Natalie MogilkaFriend
Messages: 27
Registered: August 2010
Location: Kazakhstan, Almaty
Junior Member
I have the same problem after install Birt (Eclipse Neon, Ubuntu 16.10). I removed Birt and now my project runs fine. But what can I do if I need Birt?
Previous Topic:Preferences - Properties in non UI plugin and UI plugin
Next Topic:java.lang.RuntimeException: Application could not be found in the registry
Goto Forum:
  


Current Time: Fri Apr 19 16:17:33 GMT 2024

Powered by FUDForum. Page generated in 0.01924 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top