Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse RCP Missing Constraint / Bundle Error

When I try to execute my RCP application from within Eclipse I get the following error message:

com.bah.gs.arts.jekyll.plugins.VideoLog
    Missing Constraint: Required Bundle: com.bah.gs.arts.jekyll.plugins.JVLC_Runtime; bundle-version="0.9.1"

Can someone tell me how I resolve this?

like image 865
Dr. Faust Avatar asked Jun 22 '09 17:06

Dr. Faust


2 Answers

A good trick is also to go into the run configuration dialog in Eclipse, open the Plugins tab and click the "Magic" button "add required bundles", if this marks the window as having unsaved changes you know something was added and it might work :)

like image 81
gromgull Avatar answered Sep 18 '22 19:09

gromgull


From this thread:
You could start by running your RCP application with a launch configuration including the "-console" command: that will offer you the OSGi console in the "Console" view. This only means that OSGi is running.

Should look like this:

OSGi>

If this is available, just type "ss" (for short status) and hit return. This will result in a list with all your bundles including their status. This information would be good to see in order to track down the problem.

You have also the article "Where Is My Bundle" for further informations.


Check also (especially if you cannot do the above, because the application just does not launch itself and only propose you to see the error logs) the plugins dependencies of your product configuration:
is com.bah.gs.arts.jekyll.plugins.JVLC_Runtime displayed there?

It is often related to an export list problem, as illustrated by this thread.

like image 20
VonC Avatar answered Sep 20 '22 19:09

VonC