Duplicate name in bundle

417 views
Skip to first unread message

Michael Gendrala

unread,
May 2, 2016, 11:54:42 PM5/2/16
to iDempiere
Good Day Community,

I'm currently trying out how to use multiple factories for a single plug-in and as continue with my test, the plugins worked the first time, but when I reopened my eclipse, parts of the plugin no longer work and whenever I start the server, the following occurs and I'm currently unable to find the case:

!ENTRY org.company.accounting 4 0 2016-05-03 11:47:56.435
!MESSAGE [SCR] Found components with duplicated names inside their bundle! This component will not be processed: Component[
name = org.company.accounting
activate = activate
deactivate = deactivate
modified = 
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = org.company.model.CustomModelFactory
state = Unsatisfied
properties = {gaap=*, service.ranking=1}
serviceFactory = false
serviceInterface = [org.adempiere.base.IModelFactory]
references = null
located in bundle = org.company.accounting_1.0.0.qualifier [37]

!ENTRY org.company.accounting 4 0 2016-05-03 11:47:56.438
!MESSAGE [SCR] Found components with duplicated names inside their bundle! This component will not be processed: Component[
name = org.company.accounting
activate = activate
deactivate = deactivate
modified = 
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = org.company.model.CustomModelFactory
state = Unsatisfied
properties = {gaap=*, service.ranking=1}
serviceFactory = false
serviceInterface = [org.adempiere.base.IModelFactory]
references = null
located in bundle = org.company.accounting_1.0.0.qualifier [37]

!ENTRY org.company.accounting 4 0 2016-05-03 11:47:56.441
!MESSAGE [SCR] Found components with duplicated names inside their bundle! This component will not be processed: Component[
name = org.company.accounting
activate = activate
deactivate = deactivate
modified = 
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = org.company.model.CustomEditorFactory
state = Unsatisfied
properties = {service.ranking=1}
serviceFactory = false
serviceInterface = [org.adempiere.webui.factory.IEditorFactory]
references = null
located in bundle = org.company.accounting_1.0.0.qualifier [37]

!ENTRY org.company.accounting 4 0 2016-05-03 11:47:56.444
!MESSAGE [SCR] Found components with duplicated names inside their bundle! This component will not be processed: Component[
name = org.company.accounting
activate = activate
deactivate = deactivate
modified = 
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = org.company.model.CustomEditorFactory
state = Unsatisfied
properties = {service.ranking=1}
serviceFactory = false
serviceInterface = [org.adempiere.webui.factory.IEditorFactory]
references = null
located in bundle = org.company.accounting_1.0.0.qualifier [37]

I've also tried out every solution from this link and none of them worked for me, and am currently trying to find where the duplicate can be found.


Would anyone be able to help me?

Thank you very much,
Mike


Heng Sin Low

unread,
May 3, 2016, 1:04:47 AM5/3/16
to idem...@googlegroups.com
You probably have 2 components.xml file with same name attribute value.

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/a290564c-7bd7-45b1-a264-9624680a95f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Gendrala

unread,
May 3, 2016, 1:18:53 AM5/3/16
to iDempiere
Good Day,

This was the cause. Thank you very much!

Regards,
Mike
Reply all
Reply to author
Forward
0 new messages