Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Eclipse RCP application export fails

Posted on 2008-10-10
1
Medium Priority
?
845 Views
Last Modified: 2013-12-15
Hi,

I try to export my rcp application but it doesnt work, after the export, when running the application I get immediately:

!ENTRY org.eclipse.osgi 4 0 2008-10-10 14:40:46.656
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
        at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(
EclipseAppContainer.java:236)
        at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainAppl
icationLauncher.java:29)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:386)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va: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)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)


now I know this is because of a missing dependent plugin,
so I started osgi command line and after using ss to list the plugins, I notice one plugin I made was missing.
So I installed it manually in equinox and surprisingly that worked, it installed and started without problems. Even after a 'diag' I said that everything was ok.
So then I tried to start the previously failing plugin again (since now it should work right ?)
But when I then tried to start the plugin again (in equinox "start 5" where 5 is the number of the plugin that failed), it still complained that it could not find the plugin I just installed manually.

what is happening here ?

best regards,
mark


http://users.telenet.be/free_quiz
0
Comment
Question by:themuppeteer
1 Comment
 
LVL 2

Accepted Solution

by:
themuppeteer earned 0 total points
ID: 22700582
Found it!

apperantly there was another MANIFEST.MF file present in the source folder (so there were 2). I found the problem by first creating another plugin and check if it deployed, then copy the old plugin data in the new one (so to changing the new deploying one to the old not-deploying one), and then I found it on sight.

thanks!


br,
mark

0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question