Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Missing required Bundle, wrong version number?
Missing required Bundle, wrong version number? [message #108854] Sat, 11 October 2008 12:52 Go to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
This is very strange, when trying to launch my Eclipse RAP (1.1) app on
Ganymede, I get the following error:

org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.eclipse.core.runtime;
bundle-version="0.0.0"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
...trace continues...

Problem is, I have org.eclipse.core.runtime checked off in my Bundles
tab...it's definitely selected, but my version is 3.4.0 instead of
0.0.0...why would it require an invalid version of the runtime bundle?
Re: Missing required Bundle, wrong version number? [message #108887 is a reply to message #108854] Mon, 13 October 2008 07:07 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi Adam,

Have you tried starting the bundle "org.eclipse.core.runtime" manually
at OSGi console?

start <bundle_id>

Maybe there's another error... What does your bundle list (ss) look like?
Regards,
Stefan.




Adam schrieb:
> This is very strange, when trying to launch my Eclipse RAP (1.1) app on
> Ganymede, I get the following error:
>
> org.osgi.framework.BundleException: The bundle could not be resolved.
> Reason: Missing Constraint: Require-Bundle: org.eclipse.core.runtime;
> bundle-version="0.0.0"
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
>
> ..trace continues...
>
> Problem is, I have org.eclipse.core.runtime checked off in my Bundles
> tab...it's definitely selected, but my version is 3.4.0 instead of
> 0.0.0...why would it require an invalid version of the runtime bundle?
>
Re: Missing required Bundle, wrong version number? [message #109186 is a reply to message #108887] Tue, 14 October 2008 22:33 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
The bundles I am using are:

2 workspace bundles, com.ibm.icu, javax.servlet,
org.eclipse.core.commands, org.eclipse.core.contenttype,
org.eclipse.core.databinding, org.eclipse.core.expressions,
org.eclipse.core.jobs, org.eclipse.core.runtime, org.eclipse.equinox.app,
org.eclipse.equinox.common, org.eclipse.equinox.http.registry,
org.eclipse.equinox.preferences, org.eclipse.equinox.registry,
org.eclipse.osgi, org.eclipse.osgi.services, org.eclipse.rap.jface,
org.eclipse.rap.jface.databinding, org.eclipse.rap.rwt,
org.eclipse.rap.rwt.q07, org.eclipse.rap.ui, org.eclipse.rap.ui.forms,
org.eclipse.rap.ui.forms.views, org.eclipse.rap.ui.workbench


Below is the full stack trace:

!SESSION 2008-10-11 08:33:35.830
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -dev
file:~/workspace/.metadata/.plugins/org.eclipse.pde.core/RAP
Application/dev.properties -os linux -ws gtk -arch x86_64

!ENTRY com.vertica.viztool 4 0 2008-10-11 08:33:37.009
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.eclipse.core.runtime;
bundle-version="0.0.0"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)

!ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.021
!MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
was not resolved.

!ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.032
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.032
!MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
was not resolved.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
!MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
!MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
!MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
!MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.

!ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.033
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.033
!MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
[5] was not resolved.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
!MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
!MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
!MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
!MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.

!ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:74)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)

!ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.041
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.041
!MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
was not resolved.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.041
!MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.041
!MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.042
!MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.042
!MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.

!ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.043
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.043
!MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
[5] was not resolved.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
!MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
!MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
!MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
!SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
!MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.



Stefan Roeck wrote:

> Hi Adam,

> Have you tried starting the bundle "org.eclipse.core.runtime" manually
> at OSGi console?

> start <bundle_id>

> Maybe there's another error... What does your bundle list (ss) look like?
> Regards,
> Stefan.




> Adam schrieb:
>> This is very strange, when trying to launch my Eclipse RAP (1.1) app on
>> Ganymede, I get the following error:
>>
>> org.osgi.framework.BundleException: The bundle could not be resolved.
>> Reason: Missing Constraint: Require-Bundle: org.eclipse.core.runtime;
>> bundle-version="0.0.0"
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
>>
>> ..trace continues...
>>
>> Problem is, I have org.eclipse.core.runtime checked off in my Bundles
>> tab...it's definitely selected, but my version is 3.4.0 instead of
>> 0.0.0...why would it require an invalid version of the runtime bundle?
>>
Re: Missing required Bundle, wrong version number? [message #109320 is a reply to message #109186] Thu, 16 October 2008 08:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

the OSGi messages suggest that com.vertica.viztool requires
....core.runtime in a version that is not available (0.0.0)

Could you have a look at the Require_bundle clause in your
MANIFEST.MF and see if there is a version constraint?

HTH
Rüdiger

Adam wrote:
> The bundles I am using are:
>
> 2 workspace bundles, com.ibm.icu, javax.servlet,
> org.eclipse.core.commands, org.eclipse.core.contenttype,
> org.eclipse.core.databinding, org.eclipse.core.expressions,
> org.eclipse.core.jobs, org.eclipse.core.runtime,
> org.eclipse.equinox.app, org.eclipse.equinox.common,
> org.eclipse.equinox.http.registry, org.eclipse.equinox.preferences,
> org.eclipse.equinox.registry, org.eclipse.osgi,
> org.eclipse.osgi.services, org.eclipse.rap.jface,
> org.eclipse.rap.jface.databinding, org.eclipse.rap.rwt,
> org.eclipse.rap.rwt.q07, org.eclipse.rap.ui, org.eclipse.rap.ui.forms,
> org.eclipse.rap.ui.forms.views, org.eclipse.rap.ui.workbench
>
>
> Below is the full stack trace:
>
> !SESSION 2008-10-11 08:33:35.830
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_10
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Command-line arguments: -dev
> file:~/workspace/.metadata/.plugins/org.eclipse.pde.core/RAP
> Application/dev.properties -os linux -ws gtk -arch x86_64
>
> !ENTRY com.vertica.viztool 4 0 2008-10-11 08:33:37.009
> !MESSAGE !STACK 0
> org.osgi.framework.BundleException: The bundle could not be resolved.
> Reason: Missing Constraint: Require-Bundle: org.eclipse.core.runtime;
> bundle-version="0.0.0"
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
>
>
> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.021
> !MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
> was not resolved.
>
> !ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.032
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.032
> !MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
> was not resolved.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
> !MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
> !MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
> !MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.032
> !MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.
>
> !ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.033
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.033
> !MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
> [5] was not resolved.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
> !MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
> !MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
> !MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.034
> !MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.
>
> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalStateException: Unable to acquire application service.
> Ensure that the org.eclipse.core.runtime bundle is resolved and started
> (see config.ini).
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:74)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
>
> !ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.041
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.041
> !MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
> was not resolved.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.041
> !MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.041
> !MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.042
> !MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.042
> !MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.
>
> !ENTRY org.eclipse.osgi 2 0 2008-10-11 08:33:37.043
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-11 08:33:37.043
> !MESSAGE Bundle initial@reference:file:../../../../workspace/viztoolRAP/
> [5] was not resolved.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
> !MESSAGE Missing required bundle org.eclipse.core.runtime_0.0.0.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
> !MESSAGE Missing required bundle org.eclipse.rap.ui_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
> !MESSAGE Missing required bundle org.eclipse.rap.ui.views_1.1.1.
> !SUBENTRY 2 com.vertica.viztool 2 0 2008-10-11 08:33:37.043
> !MESSAGE Missing required bundle org.eclipse.rap.ui.forms_1.1.1.
>
>
>
> Stefan Roeck wrote:
>
>> Hi Adam,
>
>> Have you tried starting the bundle "org.eclipse.core.runtime" manually
>> at OSGi console?
>
>> start <bundle_id>
>
>> Maybe there's another error... What does your bundle list (ss) look like?
>> Regards,
>> Stefan.
>
>
>
>
>> Adam schrieb:
>>> This is very strange, when trying to launch my Eclipse RAP (1.1) app
>>> on Ganymede, I get the following error:
>>>
>>> org.osgi.framework.BundleException: The bundle could not be resolved.
>>> Reason: Missing Constraint: Require-Bundle: org.eclipse.core.runtime;
>>> bundle-version="0.0.0"
>>> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
>
>>>
>>> ..trace continues...
>>>
>>> Problem is, I have org.eclipse.core.runtime checked off in my Bundles
>>> tab...it's definitely selected, but my version is 3.4.0 instead of
>>> 0.0.0...why would it require an invalid version of the runtime bundle?
>>>
>
>
Re: Missing required Bundle, wrong version number? [message #109465 is a reply to message #109320] Thu, 16 October 2008 20:16 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
There are no version constraints in my MANIFEST file, and never
were...this just makes no sense!
Re: Missing required Bundle, wrong version number? [message #109506 is a reply to message #109465] Fri, 17 October 2008 08:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Adam wrote:
> There are no version constraints in my MANIFEST file, and never
> were...this just makes no sense!
>

Maybe "0.0.0" stands for "any version"? I think so because I've seen
similar error messages when I missed a required bundle that had no
explicit version required in the manifest of the referring bundle.

Adam, from your stack trace it seems that your org.eclipse.core.runtime
bundle is not running:

!ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).
....

Can you also post your ss output?

Ralf
Re: Missing required Bundle, wrong version number? [message #109518 is a reply to message #109186] Fri, 17 October 2008 08:29 Go to previous messageGo to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Hi Adam,

Adam schrieb:
> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalStateException: Unable to acquire application service.
> Ensure that the org.eclipse.core.runtime bundle is resolved and started
> (see config.ini).

How did you configure your target environment? I run into the same
problem in the past. I think there is an issue in PDE when Equinox
bundles are available multiple times in your target platform. At least
for me this was the case. Thus, I had to create a target platform
definition manually. However, every time I start Eclipse I have to
reload the target platform because PDE does not remember it correctly.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=251092

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: Missing required Bundle, wrong version number? [message #109700 is a reply to message #109506] Fri, 17 October 2008 16:45 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
Hi Ralf,

Thanks for your help...sorry I'm not very familiar with this bundle
versioning stuff, so I'm not sure how to get the "ss list" for you. I went
to this page:

http://wiki.eclipse.org/Where_Is_My_Bundle

but the instructions are for Windows, and nothing for Unix, so I didn't
get very far in trying to use that documentation.


Ralf Sternberg wrote:

> Adam wrote:
>> There are no version constraints in my MANIFEST file, and never
>> were...this just makes no sense!
>>

> Maybe "0.0.0" stands for "any version"? I think so because I've seen
> similar error messages when I missed a required bundle that had no
> explicit version required in the manifest of the referring bundle.

> Adam, from your stack trace it seems that your org.eclipse.core.runtime
> bundle is not running:

> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalStateException: Unable to acquire application service.
> Ensure that the org.eclipse.core.runtime bundle is resolved and started
> (see config.ini).
> ....

> Can you also post your ss output?

> Ralf
Re: Missing required Bundle, wrong version number? [message #109704 is a reply to message #109518] Fri, 17 October 2008 16:49 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
I don't really remember -- I did a combination of it both manually (Run
Configuration...) and automatically through the plugin.xml file.

I mean basically I had an RCP project, I changed the target platform over
to RAP when I installed it. I corrected all of the compile errors, then
tried to run it and it failed. Then I realized I had old bundles so I went
into the Run Configurations and made sure to click "include required
bundles" to update the Run. Still failed.

Then I went back to the <projectname>.product and plugin.xml files and
updated to make sure all of the dependencies were updated (which they
weren't, so I deleted the RCP only ones and clicked "add required" to grab
the RAP ones). I then tried to run it again with no success. So in both my
xml files and my run configurations, I tried to configure for RAP and I'm
still stuck with this same error, each and every time, despite having all
of my required bundles included in every place I can imagine.

Gunnar Wagenknecht wrote:

> Hi Adam,

> Adam schrieb:
>> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.IllegalStateException: Unable to acquire application service.
>> Ensure that the org.eclipse.core.runtime bundle is resolved and started
>> (see config.ini).

> How did you configure your target environment? I run into the same
> problem in the past. I think there is an issue in PDE when Equinox
> bundles are available multiple times in your target platform. At least
> for me this was the case. Thus, I had to create a target platform
> definition manually. However, every time I start Eclipse I have to
> reload the target platform because PDE does not remember it correctly.

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=251092

> -Gunnar
Re: Missing required Bundle, wrong version number? [message #109758 is a reply to message #109700] Fri, 17 October 2008 17:52 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Adam,

If you start the app locally in Eclipse, simply type "ss" in your
console window to display all bundles.

Regards,
Stefan.

Adam schrieb:
> Hi Ralf,
>
> Thanks for your help...sorry I'm not very familiar with this bundle
> versioning stuff, so I'm not sure how to get the "ss list" for you. I
> went to this page:
>
> http://wiki.eclipse.org/Where_Is_My_Bundle
>
> but the instructions are for Windows, and nothing for Unix, so I didn't
> get very far in trying to use that documentation.
>
>
> Ralf Sternberg wrote:
>
>> Adam wrote:
>>> There are no version constraints in my MANIFEST file, and never
>>> were...this just makes no sense!
>>>
>
>> Maybe "0.0.0" stands for "any version"? I think so because I've seen
>> similar error messages when I missed a required bundle that had no
>> explicit version required in the manifest of the referring bundle.
>
>> Adam, from your stack trace it seems that your org.eclipse.core.runtime
>> bundle is not running:
>
>> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.IllegalStateException: Unable to acquire application service.
>> Ensure that the org.eclipse.core.runtime bundle is resolved and started
>> (see config.ini).
>> ....
>
>> Can you also post your ss output?
>
>> Ralf
>
>
Re: Missing required Bundle, wrong version number? [message #109788 is a reply to message #109758] Sat, 18 October 2008 20:59 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
I can't start the app, that's why I have this problem, so how could I get
the ss list? I'm confused...

Stefan Roeck wrote:

> Adam,

> If you start the app locally in Eclipse, simply type "ss" in your
> console window to display all bundles.

> Regards,
> Stefan.

> Adam schrieb:
>> Hi Ralf,
>>
>> Thanks for your help...sorry I'm not very familiar with this bundle
>> versioning stuff, so I'm not sure how to get the "ss list" for you. I
>> went to this page:
>>
>> http://wiki.eclipse.org/Where_Is_My_Bundle
>>
>> but the instructions are for Windows, and nothing for Unix, so I didn't
>> get very far in trying to use that documentation.
>>
>>
>> Ralf Sternberg wrote:
>>
>>> Adam wrote:
>>>> There are no version constraints in my MANIFEST file, and never
>>>> were...this just makes no sense!
>>>>
>>
>>> Maybe "0.0.0" stands for "any version"? I think so because I've seen
>>> similar error messages when I missed a required bundle that had no
>>> explicit version required in the manifest of the referring bundle.
>>
>>> Adam, from your stack trace it seems that your org.eclipse.core.runtime
>>> bundle is not running:
>>
>>> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
>>> !MESSAGE Application error
>>> !STACK 1
>>> java.lang.IllegalStateException: Unable to acquire application service.
>>> Ensure that the org.eclipse.core.runtime bundle is resolved and started
>>> (see config.ini).
>>> ....
>>
>>> Can you also post your ss output?
>>
>>> Ralf
>>
>>
Re: Missing required Bundle, wrong version number? [message #109793 is a reply to message #109788] Sat, 18 October 2008 22:43 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi Adam,

starting the launch configuration with the "-console" command offers you
a the OSGi console in our "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.

Greets
Benny

Adam wrote:
> I can't start the app, that's why I have this problem, so how could I
> get the ss list? I'm confused...
>
> Stefan Roeck wrote:
>
>> Adam,
>
>> If you start the app locally in Eclipse, simply type "ss" in your
>> console window to display all bundles.
>
>> Regards,
>> Stefan.
>
>> Adam schrieb:
>>> Hi Ralf,
>>>
>>> Thanks for your help...sorry I'm not very familiar with this bundle
>>> versioning stuff, so I'm not sure how to get the "ss list" for you. I
>>> went to this page:
>>>
>>> http://wiki.eclipse.org/Where_Is_My_Bundle
>>>
>>> but the instructions are for Windows, and nothing for Unix, so I
>>> didn't get very far in trying to use that documentation.
>>>
>>>
>>> Ralf Sternberg wrote:
>>>
>>>> Adam wrote:
>>>>> There are no version constraints in my MANIFEST file, and never
>>>>> were...this just makes no sense!
>>>>>
>>>
>>>> Maybe "0.0.0" stands for "any version"? I think so because I've seen
>>>> similar error messages when I missed a required bundle that had no
>>>> explicit version required in the manifest of the referring bundle.
>>>
>>>> Adam, from your stack trace it seems that your org.eclipse.core.runtime
>>>> bundle is not running:
>>>
>>>> !ENTRY org.eclipse.osgi 4 0 2008-10-11 08:33:37.039
>>>> !MESSAGE Application error
>>>> !STACK 1
>>>> java.lang.IllegalStateException: Unable to acquire application service.
>>>> Ensure that the org.eclipse.core.runtime bundle is resolved and started
>>>> (see config.ini).
>>>> ....
>>>
>>>> Can you also post your ss output?
>>>
>>>> Ralf
>>>
>>>
>
>
Re: Missing required Bundle, wrong version number? [message #109807 is a reply to message #109793] Sun, 19 October 2008 17:23 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
Yeah I guess I'm really not on the same page here...if I try and launch
the app, it will say "Could not launch, would you like to view the error
log?" and because the app never launches, I never have a chance to use the
OSGi console. I tried enabling it with -console in the run configuration
of my RAP app, but the same thing happened, and if the RAP app isn't
running, you can't use the OSGi console...so I'm really not sure how I can
get this information if the app won't run at all.
Re: Missing required Bundle, wrong version number? [message #110100 is a reply to message #108854] Tue, 21 October 2008 16:52 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
I was reading other threads in this NewsGroup about their RAP problems and
I was wondering, could my Required Bundle problem be due to the fact that
I made a copy of my RCP application? Are there files that are
auto-generated by Eclipse when you create a new RAP application that
aren't created for RCP applications? I checked New>Project... and didn't
find a distinction...
Re: Missing required Bundle, wrong version number? [message #110337 is a reply to message #110100] Thu, 23 October 2008 08:46 Go to previous message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Adam wrote:
> I was reading other threads in this NewsGroup about their RAP problems
> and I was wondering, could my Required Bundle problem be due to the fact
> that I made a copy of my RCP application? Are there files that are
> auto-generated by Eclipse when you create a new RAP application that
> aren't created for RCP applications? I checked New>Project... and didn't
> find a distinction...
>

No, there's no magic involved. Of course, if you create a RAP
application from a template, the RAP template differs slightly from the
RCP one (as it has to implement the IEntryPoint interface).

Ralf
Previous Topic:Weird Characters at startup
Next Topic:embedding HTML and convert normal link as SWT Link
Goto Forum:
  


Current Time: Fri Apr 26 15:37:07 GMT 2024

Powered by FUDForum. Page generated in 0.04622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top