Solved

Eclipse RCP application export fails

Posted on 2008-10-10
1
841 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

617 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