Solved

Eclipse RCP application export fails

Posted on 2008-10-10
1
831 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Eclipse Neon start with Admin account only 6 95
Unable to start eclipse ? 17 133
Grunt No Clean Targets 6 109
eclipse package explorer vs project explorer view 2 84
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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

895 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

13 Experts available now in Live!

Get 1:1 Help Now