cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Could not load extension sapcustomer-raw on startUp in Data Hub version: 6.3.0.0-RC2

Former Member
0 Likes
417

Hi Experts,

I am getting the below exception, while startup of datahub. Can you please help me on this?

2017-10-27 17:40:09,611 [DEBUG] [localhost-startStop-1] [c.h.d.e.l.i.DefaultExtensionImportService] ValidationException{failures=[ValidationFailure{EXISTING_ITEM, "Canonical item metadata already exists, cannot create another"}]} 2017-10-27 17:40:09,611 [DEBUG] [localhost-startStop-1] [c.h.d.e.l.i.DefaultExtensionImportService] Loading canonical attribute Attribute{name='partyId', model=null, transformations=Transformations{transformation=[Transformation{rawSource='RawDEBMAS', expression='Expression{value='#root.getField('E1KNA1M-KUNNR') + '_KNA1'', spel='true'}, override='false, disabled='false}]}} 2017-10-27 17:40:09,611 [DEBUG] [localhost-startStop-1] [c.h.d.e.l.i.DefaultExtensionImportService] Creating attribute transformationCanonicalTransformationData{rawItemType='RawDEBMAS', expression='#root.getField('E1KNA1M-KUNNR') + '_KNA1'', override='false', disabled='false', spel='true'} 2017-10-27 17:40:09,621 [ERROR] [localhost-startStop-1] [c.h.d.e.l.i.DefaultExtensionLoaderService] Could not load extension sapcustomer-raw com.hybris.datahub.validation.ValidationException: [ValidationFailure{FATAL, rawAttribute: "Canonical attribute transformation cannot be modifiedCanonicalPartySales, partyId, RawDEBMAS"}] at com.hybris.datahub.validation.AbstractValidator.validate(AbstractValidator.java:32) ~[datahub-service-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.facade.metadata.DefaultTransformationItemClassFacade.createNewAttribute(DefaultTransformationItemClassFacade.java:42) ~[datahub-service-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.facade.metadata.DefaultTransformationItemClassFacade.createNewAttribute(DefaultTransformationItemClassFacade.java:32) ~[datahub-service-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.facade.metadata.AbstractItemClassFacade.createAttribute(AbstractItemClassFacade.java:36) ~[datahub-service-6.3.0.0-RC2.jar:6.3.0.0-RC2] at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at com.sun.proxy.$Proxy169.createAttribute(Unknown Source) ~[na:na] at com.hybris.datahub.extension.load.impl.DefaultExtensionImportService.loadAttributeTransformations(DefaultExtensionImportService.java:235) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.extension.load.impl.DefaultExtensionImportService.createCanonicalAttribute(DefaultExtensionImportService.java:221) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.extension.load.impl.DefaultExtensionImportService.loadCanonicalItems(DefaultExtensionImportService.java:165) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.extension.load.impl.DefaultExtensionImportService.loadExtension(DefaultExtensionImportService.java:90) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.3.RELEASE.jar:4.3.3.RELEASE] at com.sun.proxy.$Proxy173.loadExtension(Unknown Source) ~[na:na] at com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtension(DefaultExtensionLoaderService.java:86) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[na:1.8.0_144] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[na:1.8.0_144] at java.util.stream.ReferencePipeline$Head.forEachOrdered(ReferencePipeline.java:590) ~[na:1.8.0_144] at com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensionsInOrder(DefaultExtensionLoaderService.java:78) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensions(DefaultExtensionLoaderService.java:71) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService.loadExtensionsFromClasspath(DefaultExtensionLoaderService.java:44) ~[datahub-extension-loader-6.3.0.0-RC2.jar:6.3.0.0-RC2] at com.hybris.datahub.spring.ContextRefreshedEventListener.onApplicationEvent(ContextRefreshedEventListener.java:43) ~[ContextRefreshedEventListener.class:na] at com.hybris.datahub.spring.ContextRefreshedEventListener.onApplicationEvent(ContextRefreshedEventListener.java:25) ~[ContextRefreshedEventListener.class:na] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444) ~[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) ~[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) ~[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4961) ~[catalina.jar:7.0.50] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5455) ~[catalina.jar:7.0.50] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[catalina.jar:7.0.50] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) ~[catalina.jar:7.0.50] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) ~[catalina.jar:7.0.50] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:634) ~[catalina.jar:7.0.50] at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1230) ~[catalina.jar:7.0.50] at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1876) ~[catalina.jar:7.0.50] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_144] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_144] at java.lang.Thread.run(Thread.java:808) ~[na:1.8.0_144] 2017-10-27 17:40:09,622 [INFO] [localhost-startStop-1] [c.h.d.e.l.i.DefaultExtensionLoaderService] Importing extension resource sapcustomer-target 2017-10-27 17:40:09,622 [INFO] [localhost-startStop-1] [c.h.d.e.l.i.DefaultExtensionImportService] Loading extension sapcustomer-target 2017-10-27 17:40:09,623 [DEBUG] [localhost-startStop-1] [c.h.d.e.l.i.DefaultExtensionImportService] Loading target system TargetSystem{name='SapErpSystem', type='SAP_IDOC', exportURL='https://my-SAPERP-server/sap/bc/srt/IDoc?sap-client=000', userName='', password='', exportCodes=ExportCodes{exportCode=null}, targetItems=TargetItems{item=[Item{type='DEBMAS07$EDI_DC40', description='IDoc Control Header segment', updatable=false, canonicalItemSource='CanonicalPartyRelationship', status=null, attributes=Attributes{attribute=[Attribute{name='KUNNR', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').externalPartyId', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='MANDT', collection=false', localizable=false', transformationExpression=''000'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='DOCNUM', collection=false', localizable=false', transformationExpression='@sapIDocNumberSeriesGenerator.generate()', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='MESTYP', collection=false', localizable=false', transformationExpression=''DEBMAS'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='SNDPOR', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('senderPort')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='SNDPRN', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('senderName')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='RCVPOR', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('receiverName')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='RCVPRN', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('receiverName')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}]}, expression=null}, Item{type='DEBMAS07$E1KNA1M', description='Header segment', updatable=false, canonicalItemSource='CanonicalPartyRelationship', status=null, attributes=Attributes{attribute=[Attribute{name='MSGFN', collection=false', localizable=false', transformationExpression=''005'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='KUNNR', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').externalPartyId', exportCode='ExportCode{value='keyfield=true', expression='false}', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='KTOKD', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').role.contains('CONSUMER')?'0170':resolve('CanonicalParty').role.contains('CUSTOMER')?'DEBI':''', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='STKZN', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').role.contains('CONSUMER')?'X':'/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='BAHNE', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='BAHNS', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='BBBNR', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='BBSNR', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='BEGRU', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='BRSCH', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='BUBKZ', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='DATLT', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='FAKSD', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='FISKN', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='KNRZA', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='KONZS', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='KUKLA', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LAND1', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LIFNR', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LIFSD', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LOCCO', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LOEVM', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='NAME1', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='NAME2', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='NAME3', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='NAME4', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='NIELS', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='ORT01', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='ORT02', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='PFACH', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='PSTL2', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='PSTLZ', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='REGIO', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='COUNC', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='CITYC', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='RPMKR', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='SORTL', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='SPERR', collection=false', localizable=false', transformationExpression=''/'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='SPRAS', collection=false', localizable=false', ', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='MANDT', collection=false', localizable=false', transformationExpression=''000'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='DOCNUM', collection=false', localizable=false', transformationExpression='@sapIDocNumberSeriesGenerator.generate()', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='MESTYP', collection=false', localizable=false', transformationExpression=''ADR2MAS'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='SNDPOR', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('senderPort')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='SNDPRN', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('senderName')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='RCVPOR', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('receiverName')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='RCVPRN', collection=false', localizable=false', transformationExpression='@defaultSapTargetSystemInfoLookup.getAttributeValue('receiverName')', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}]}, expression=null}, Item{type='ADR2MAS03$E1ADR2MAS', description='Header segment', updatable=false, canonicalItemSource='CanonicalPartyRelationship', status=null, attributes=Attributes{attribute=[Attribute{name='MSGFN', collection=false', localizable=false', transformationExpression=''005'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='OBJ_TYPE', collection=false', localizable=false', transformationExpression=''BUS1006001'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='OBJ_ID', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty', 'partyId='+#root.relatedPartyId).externalPartyId', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='CONTEXT', collection=false', localizable=false', transformationExpression=''0004'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}]}, expression=null}, Item{type='ADR2MAS03$E1ADR2MAS$E1BPAD2VL', description='E1BPAD2VL of Header segment', updatable=false, canonicalItemSource='CanonicalPartyRelationship', status=null, attributes=Attributes{attribute=[Attribute{name='MSGFN', collection=false', localizable=false', transformationExpression=''005'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='OBJ_TYPE', collection=false', localizable=false', transformationExpression=''BUS1006001'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='OBJ_ID', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty', 'partyId='+#root.relatedPartyId).externalPartyId', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='FROM_DATE', collection=false', localizable=false', transformationExpression=''00010101'', exportCode='ExportCode{value='keyfield=true', expression='false}', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='TO_DATE', collection=false', localizable=false', transformationExpression=''99991231'', exportCode='ExportCode{value='keyfield=true', expression='false}', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='TITLE_P', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').title', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='FIRSTNAME', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').firstName', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LASTNAME', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').lastName', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LANGUP_ISO', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').communicationLanguage', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LANGUCPISO', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').communicationLanguage', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='STREET', collection=false', localizable=false', transformationExpression='resolve('CanonicalAddress', 'addressId='+#root.partyId+'_0004').streetName', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='HOUSE_NO', collection=false', localizable=false', transformationExpression='resolve('CanonicalAddress', 'addressId='+#root.partyId+'_0004').streetNumber', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='CITY', collection=false', localizable=false', transformationExpression='resolve('CanonicalAddress', 'addressId='+#root.partyId+'_0004').city', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='POSTL_COD1', collection=false', localizable=false', transformationExpression='resolve('CanonicalAddress', 'addressId='+#root.partyId+'_0004').postalCode', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}]}, expression=null}, Item{type='ADR2MAS03$E1ADR2MAS$E1BPAD2VL$E1BPAD2VL1', description='E1BPAD2VL of Header segment', updatable=false, canonicalItemSource='CanonicalPartyRelationship', status=null, attributes=Attributes{attribute=[Attribute{name='OBJ_ID', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty', 'partyId='+#root.relatedPartyId).externalPartyId', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='FROM_DATE', collection=false', localizable=false', transformationExpression=''00010101'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='TO_DATE', collection=false', localizable=false', transformationExpression=''99991231'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='COUNTRYISO', collection=false', localizable=false', transformationExpression='resolve('CanonicalAddress', 'addressId='+#root.partyId+'_0004').country', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='REGION', collection=false', localizable=false', transformationExpression='resolve('CanonicalAddress', 'addressId='+#root.partyId+'_0004').region', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='LANGUCRISO', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty').communicationLanguage', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='PERS_GROUP', collection=false', localizable=false', transformationExpression=''BP'', exportCode='ExportCode{value='keyfield=true', expression='false}', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='ADDR_GROUP', collection=false', localizable=false', transformationExpression=''BP'', exportCode='ExportCode{value='keyfield=true', expression='false}', mandatoryInHeader=false, secured=false, override=false, disabled=false}]}, expression=null}, Item{type='ADR2MAS03$E1ADR2MAS$E1BPADTEL', description='Segment for telephone numbers of the private address', updatable=false, canonicalItemSource='CanonicalPartyRelationship', status=null, attributes=Attributes{attribute=[Attribute{name='MSGFN', collection=false', localizable=false', transformationExpression=''005'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='OBJ_TYPE', collection=false', localizable=false', transformationExpression=''BUS1006001'', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='OBJ_ID', collection=false', localizable=false', transformationExpression='resolve('CanonicalParty', 'partyId='+#root.relatedPartyId).externalPartyId', exportCode='null', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='VALID_FROM', collection=false', localizable=false', transformationExpression=''00010101'', exportCode='ExportCode{value='keyfield=true', expression='false}', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='VALID_TO', collection=false', localizable=false', transformationExpression=''99991231'', exportCode='ExportCode{value='keyfield=true', expression='false}', mandatoryInHeader=false, secured=false, override=false, disabled=false}, Attribute{name='TELEPHONE', collection=false', localizable=false', transformationExpression='resolve('CanonicalAddress', 'addressId='+#root.partyId+'_0004').telephone', exportCode='null', mandatoryInHeader=false, secured=false, 2017-10-27 17:40:09,625 [DEBUG] [localhost-startStop-1] [c.h.d.v.m.TargetSystemValidator] Adapter types found - [HybrisCore, SAP_IDOC]

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

The ValidationFailure{EXISTING_ITEM, "Canonical item metadata already exists, cannot create another"}

states that you you cannot overwrite an existing attribute metadata.

This can either result from a model update with an old version in the DB.

Or when trying to explicitly overwrite an attribute without specifying the overwrite="true" flag.