Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330246

Summary: Error on "update" console statement
Product: [Eclipse Project] Equinox Reporter: d.zinato
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen, tjwatson
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description d.zinato CLA 2010-11-15 09:17:34 EST
I'm using RAP 1.3M7, and i noticed a strange behaviour.
My rap application runs directly on Equinox and Jetty (OSGi HTTP Service implementation), without a specific servlet container.

After the startup, at console i can see this status:

[204]   osgi.tkdata.ui.rap.fragment.agugiaroep  RESOLVED
[13]    osgi.tkdata.ui.rap.main ACTIVE

running this statement:

osgi> update 13

i obtain this error:

org.osgi.framework.BundleException: The bundle "osgi.tkdata.ui.rap.main_1.0.0.qualifier [13]" could not be resolved. Reason: Another singleton version selected: osgi.tkdata.ui.rap.main_1.0.0.qualifier
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.updateWorker(AbstractBundle.java:629)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.update(AbstractBundle.java:576)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.update(AbstractBundle.java:559)
	at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._update(FrameworkCommandProvider.java:379)
	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.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155)
	at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:156)
	at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:141)
	at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:105)
	at java.lang.Thread.run(Unknown Source)

Someone can help me?
Comment 1 Ivan Furnadjiev CLA 2010-11-19 04:40:15 EST
I think that OSGi (or RAP) newsgroup is a more appropriate place for such kind a questions. Please reopen this bug if you trace the problem to the specific RAP issue and attach a snippet/project to reproduce it.
Comment 2 Ivan Furnadjiev CLA 2010-11-19 08:32:12 EST
I will move it to Equinox.
Comment 3 Thomas Watson CLA 2010-11-30 11:11:45 EST
What version of the Equinox framework (org.eclipse.osgi) are you using?  I cannot reproduce this on the latest 3.7 builds.
Comment 4 d.zinato CLA 2010-12-01 02:47:40 EST
I'm working with equinox 3.6 (org.eclipse.osgi_3.6.0.v20091204.jar).
Comment 5 Thomas Watson CLA 2018-01-05 17:41:24 EST
This worked for me on the latest release..  Please reopen if this is still an issue on the latest release.