Solved

Eclipse RCP application export fails

Posted on 2008-10-10
1
827 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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now