Solved

Eclipse RCP application export fails

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fast way to search item into Java Array (Rhino compatible) 2 47
Eclipse for Java EE development 2 68
Tomcat 9 + java 8 error while trying to deploy a war file 2 858
Java array 21 150
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…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
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:
Suggested Courses

759 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