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

Failed to create a target item from CanonicalItem

Former Member
0 Likes
685

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

@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 ?

Former Member
0 Likes

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,

Answers (0)