Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Kura emulator - found components with duplicated names
Kura emulator - found components with duplicated names [message #1743639] Sat, 17 September 2016 15:20 Go to next message
gator primer is currently offline gator primerFriend
Messages: 4
Registered: September 2016
Junior Member
Hello,

I used to build my kura distribution from sources and develop my own bundles without any problem.
Last week I decided to upgrade kura from github repository (develop branch) , but when I run emulator in eclipse, I get errors like :
!ENTRY org.eclipse.kura.linux.clock 2 0 2016-09-17 16:53:03.317
!MESSAGE [SCR] Found components with duplicated names! Details: 
Component1 : Component[
	name = org.eclipse.kura.clock.ClockService
	activate = activate
	deactivate = deactivate
	modified = updated
	configuration-policy = require
	factory = null
	autoenable = true
	immediate = true
	implementation = org.eclipse.kura.linux.clock.ClockServiceImpl
	state = Unsatisfied
	properties = {service.pid=org.eclipse.kura.clock.ClockService}
	serviceFactory = false
	serviceInterface = [org.eclipse.kura.clock.ClockService]
	references = {
		Reference[name = EventAdmin, interface = org.osgi.service.event.EventAdmin, policy = static, cardinality = 1..1, target = null, bind = setEventAdmin, unbind = unsetEventAdmin]
	}
	located in bundle = org.eclipse.kura.linux.clock_1.0.7.qualifier [41]
]
Component2: Component[
	name = org.eclipse.kura.clock.ClockService
	activate = activate
	deactivate = deactivate
	modified = updated
	configuration-policy = require
	factory = null
	autoenable = true
	immediate = true
	implementation = org.eclipse.kura.emulator.clock.ClockServiceImpl
	state = Unsatisfied
	properties = {service.pid=org.eclipse.kura.clock.ClockService}
	serviceFactory = false
	serviceInterface = [org.eclipse.kura.clock.ClockService]
	references = {
		Reference[name = EventAdmin, interface = org.osgi.service.event.EventAdmin, policy = static, cardinality = 1..1, target = null, bind = setEventAdmin, unbind = unsetEventAdmin]
	}
	located in bundle = org.eclipse.kura.emulator.clock_1.0.1.qualifier [15]
]  


the same errors appears with net, watchdog and usb components... and all of these are not satifsfied.

I switched to RELEASE_2.0.1 branch but I get the same error, did anyone have the same problem?
I think I understand the meaning of these errors but I not able to fix it, anyone have a solution?

Thanks.


Re: Kura emulator - found components with duplicated names [message #1743788 is a reply to message #1743639] Mon, 19 September 2016 15:45 Go to previous messageGo to next message
Pierre Pitiot is currently offline Pierre PitiotFriend
Messages: 16
Registered: April 2015
Junior Member
Hello,

when you run the emulator in Eclipse you need to select the bundles that will be started:
right click on org.eclipse.kura.emulator/src/main/resources/Kura_Emulator_Linux.launch
select Run As -> Run Configurations
then select the bundles, you must not select the linux bundles but only the corresponding emulator bundles (in your case you have to unselect org.eclipse.kura.linux.clock)
Apply and run and that should be fixed.

Regards
--Pierre
Re: Kura emulator - found components with duplicated names [message #1743995 is a reply to message #1743639] Wed, 21 September 2016 11:07 Go to previous message
gator primer is currently offline gator primerFriend
Messages: 4
Registered: September 2016
Junior Member
Thank you Pierre, it works better now.
Previous Topic:Kura Modbus
Next Topic:Eclipse Neon - .dpp file open
Goto Forum:
  


Current Time: Fri Apr 19 16:21:13 GMT 2024

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

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

Back to the top