SAP Knowledge Base Article - Preview

3211013 - Duplicate key error when updating customer record

Symptom

When update a customer record from backoffice/impex, it shows error like below:

Duplicate key issue_key (attempted merging values de.hybris.platform.directpersistence.cache.SLDDataContainer$AttributeValue@xxxxxxxx[name=issue_key,value=xxx,langPk=<null>] and de.hybris.platform.directpersistence.cache.SLDDataContainer$AttributeValue@xxxxxxxx[name=issue_key,value=xxx,langPk=<null>])

at java.util.stream.Collectors.duplicateKeyException(Collectors.java:133) ~[?:?]
at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:180) ~[?:?]
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at de.hybris.platform.persistence.audit.impl.DefaultAuditableSaver.findBlacklistedAttributes(

...


Read more...

Product

SAP Commerce Cloud 2011

Keywords

Duplicate key, attempted merging values, dontOptimize , KBA , CEC-COM-CPS-COR , SAP Commerce Core , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.