Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » "Found components with duplicated names!"
"Found components with duplicated names!" [message #805071] Thu, 23 February 2012 09:50 Go to next message
Udo Rader is currently offline Udo RaderFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

we are facing some troubles updating a 3.6 based RCP application to the
3.7 codebase.

All except one of the included dependent plugins are updating fine, just
the org.eclipse.equinox.event bundle gives us some headache.

The updated application does not start, the logfile says this:

-----------CUT-----------
!MESSAGE [SCR] Found components with duplicated names! Details:
Component1 : Component[
name = org.eclipse.equinox.event
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = org.eclipse.equinox.internal.event.EventComponent
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface = [org.osgi.service.event.EventAdmin]
references = null
located in bundle = org.eclipse.equinox.event_1.2.100.v20110502
[366]
]
Component2: Component[
name = org.eclipse.equinox.event
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = org.eclipse.equinox.internal.event.EventComponent
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface = [org.osgi.service.event.EventAdmin]
references = null
located in bundle = org.eclipse.equinox.event_1.2.0.v20100503 [76]
]
-----------CUT-----------

I just fail to understand why
org.eclipse.equinox.event_1.2.100.v20110502 doesn't just get precendence
over the older org.eclipse.equinox.event_1.2.0.v20100503, the relevant
part of feature.xml looks the same for both 3.6 and 3.7 versions of the
application:

-----------CUT-----------
<plugin
id="org.eclipse.equinox.event"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
-----------CUT-----------

Any hints what could cause the trouble in this case?

Thanks in advance!

Udo
Re: &quot;Found components with duplicated names!&quot; [message #805643 is a reply to message #805071] Fri, 24 February 2012 01:26 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
My guess: org.eclipse.equinox.event isn't a singleton and you've somehow installed the two bundles independently (eg, two different features).
Previous Topic:Handling system bundle updates using SimpleConfigurator and ConfigApplier
Next Topic:Adding Plugins to own update site
Goto Forum:
  


Current Time: Thu Dec 26 19:12:32 GMT 2024

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

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

Back to the top