‎2019 Feb 18 9:02 AM - edited ‎2024 Feb 04 6:07 AM
Hi Experts ,
We have getting error in production environment as below :
"Failed to create a target item from CanonicalItem".
[DataHubActorSystem-akka.actor.default-dispatcher-110335] [c.h.d.s.p.i.DefaultCanonicalToTargetItemConverterService] Failed to create a target item from CanonicalItem{id='422262', integrationKey='SRP300|000972541000120050', status=SUCCESS, dataPool='DataHubPoolEntity{id=0, name=GLOBAL}', fields='{productID=000972541000120050, packageWeight=1.000, packageWidth=0.000, blockedFrom=00000000, itemCategoryGroup=null, division=01, blocked=null, baseProductID=null, packageLength=0.000, isConfigurable=null, erpProductName=FEIBA REAGENT 50X2ML, creationSystem=SRP300, creationDate=20180314, packageHeight=0.000, unit=EA, packageVolume=0.010, netWeight=1.000, GTIN=null, allocationGroup=null, shortDatedMaterialGroup=4070, materialGroup=null, potencyRange=null, name={en=FEIBA REAGENT 50X2ML}, weightUOM=GRM, shortDatedPdtFamily=null, volumeUOM=CMQ}'}
Actually we are getting ,
TransformationExpressionException: Could not transform by expression GTIN?:resolve('CanonicalProductUnit').EAN?:''
Caused by: com.hybris.datahub.service.spel.MissingReferenceException: No reference canonical item found with a type: CanonicalProductUnit, and conditions: []
and because of that getting error as above : "Failed to create a target item from CanonicalItem"
Can anyone please provide the details what could be the root cause and why it's happening.
Please find attacehd logs for details .
Thanks in advance .
Regards,link text
Request clarification before answering.
@Satish , This could be due to the reason , that clean up job ran which cleaned the 'CanonicalProductUnit' from canonicalItem table . And during resolve , that canonicalItem is not available in the table.
Do you have clean up jobs enabled ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Thanks for your valuable input .
Not sure about clean up jobs are enable or not .
Could you please suggest where i can check this type of job are enabled or not as this error happened around 13k in production .
So is this possible this error happened because of clean job ?
Please suggest further on this .
Regards,
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.