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

Bug 362789

Summary: [scr] duplicated components during package refresh
Product: [Eclipse Project] Equinox Reporter: Gunnar Wagenknecht <gunnar>
Component: CompendiumAssignee: equinox.compendium-inbox <equinox.compendium-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: tjwatson
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Gunnar Wagenknecht CLA 2011-11-03 09:00:30 EDT
When installing a bundle with some components into Equinox using p2 I got a warning printed for duplicate components which actually are the same components.


----
13:56:37.233 [Refresh Packages] WARN  org.eclipse.equinox.logger - [SCR] Found components with duplicated names! Details:
Component1 : Component[
        name = hello.cloud.commands.component
        activate = activate
        deactivate = deactivate
        modified =
        configuration-policy = optional
        factory = null
        autoenable = true
        immediate = false
        implementation = hello.cloud.commands.CommandsComponent
        state = Unsatisfied
        properties =
        serviceFactory = false
        serviceInterface = [org.eclipse.osgi.framework.console.CommandProvider]
        references = null
        located in bundle = hello.cloud_1.0.0.201111031104 [137]
]
Component2: Component[
        name = hello.cloud.commands.component
        activate = activate
        deactivate = deactivate
        modified =
        configuration-policy = optional
        factory = null
        autoenable = true
        immediate = false
        implementation = hello.cloud.commands.CommandsComponent
        state = Unsatisfied
        properties =
        serviceFactory = false
        serviceInterface = [org.eclipse.osgi.framework.console.CommandProvider]
        references = null
        located in bundle = hello.cloud_1.0.0.201111031104 [137]
]   - org.eclipse.equinox.ds, id: 45
----
Comment 1 Eclipse Genie CLA 2019-09-28 02:07:29 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Thomas Watson CLA 2019-09-30 08:51:46 EDT
Closing as worksforme, we have moved on to the felix SCR implementation and I suspect this is not an issue there.