Cannot launch because X has reported / No OSGi framework has been added to the run path

292 views
Skip to first unread message

Oliver

unread,
Dec 15, 2011, 5:52:25 PM12/15/11
to bndtools-users
In case you should come across the following errors during launching:

Status ERROR: bndtools.core code=0 Cannot launch because rcpmail has
reported
org.eclipse.osgi;version=[3.5.2.R35x_v20100126,3.5.2.R35x_v20100126]
Not found in [bnd-cache, aQute.lib.deployer.obr.LocalOBR@1b42973,
aQute.lib.deployer.obr.OBR@10d785d,
aQute.lib.deployer.obr.LocalOBR@1593eee, Eclipse] null

Status ERROR: bndtools.core code=0 No OSGi framework has been added to
the run path. null

Make sure your projected is located in a folder of the Eclipse
workspace. I got the above errors when trying to launch a project with
bndtools that was located in a folder not wasn't a subdirectory of the
workspace folder. I think the problem is that in this situation
bndtools can't locate the cnf folder.

gibelium

unread,
Jul 19, 2012, 12:22:10 PM7/19/12
to bndtool...@googlegroups.com
Seems that the problem is back again...

1) Create a new workspace
2) Add cnf project from window/prefrences
3) Create a simple "Hello World" bnd project
4) Select OSGi framework and Exec. Env.
5) Hit the run button

Error message:

Status ERROR: bndtools.core code=0 No OSGi framework has been added to
the run path. null

project and cnf folder are located inside the workspace folder.

Tested with Bndtools 2.0.0.alpha01-20120718-124328 and Eclipse 3.8 and 4.2

Filed bug: https://github.com/bndtools/bndtools/issues/465


Reply all
Reply to author
Forward
0 new messages