SAP Knowledge Base Article - Preview

2311168 - Media conversion related exception

Symptom

Below exception can be found in the logs:

de.hybris.platform.servicelayer.exceptions.ModelSavingException: [de.hybris.platform.servicelayer.interceptor.impl.UniqueAttributesInterceptor@287c958f]:ambiguous unique keys {catalogVersion=CatalogVersionModel (8796093088345), code=kiki_Default-WorkingFormat_Default-Crazy} for model MediaModel () - found 1 item(s) using the same keys
at de.hybris.platform.servicelayer.internal.model.impl.ModelWrapper.validate(ModelWrapper.java:112)
at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAllInternal(DefaultModelService.java:1146)
at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:1090)
at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.save(DefaultModelService.java:735)
at de.hybris.platform.mediaconversion.conversion.DefaultConvertedMediaCreationStrategy.createOrUpdate(DefaultConvertedMediaCreationStrategy.java:75)
at de.hybris.platform.mediaconversion.imagemagick.ImageMagickMediaConversionStrategy.create(ImageMagickMediaConversionStrategy.java:149)
at de.hybris.platform.mediaconversion.imagemagick.ImageMagickMediaConversionStrategy.convert(ImageMagickMediaConversionStrategy.java:126)
at de.hybris.platform.mediaconversion.conversion.DefaultMediaConversionService.convert(DefaultMediaConversionService.java:395)
at de.hybris.platform.mediaconversion.conversion.DefaultMediaConversionService.doConvert(DefaultMediaConversionService.java:375)
at de.hybris.platform.mediaconversion.conversion.DefaultMediaConversionService$2.execute(DefaultMediaConversionService.java:322)
at de.hybris.platform.tx.Transaction.execute(Transaction.java:919)
at de.hybris.platform.tx.Transaction.execute(Transaction.java:884)
at de.hybris.platform.mediaconversion.conversion.DefaultMediaConversionService.convertInTransaction(DefaultMediaConversionService.java:304)
at de.hybris.platform.mediaconversion.conversion.DefaultMediaConversionService.getOrConvert(DefaultMediaConversionService.java:246)
at de.hybris.platform.mediaconversion.conversion.DefaultMediaConversionService.convertMedias(DefaultMediaConversionService.java:123)
at de.hybris.platform.mediaconversion.hmc.MediaConversionAction.doIt(MediaConversionAction.java:37)
at de.hybris.platform.mediaconversion.hmc.AbstractMediaConversionAction.perform(AbstractMediaConversionAction.java:77)
at de.hybris.platform.mediaconversion.hmc.MediaConversionAction.perform(MediaConversionAction.java:1)
at de.hybris.platform.hmc.generic.AbstractActionChip.performAction(AbstractActionChip.java:126)
at de.hybris.platform.hmc.generic.ItemActionChip.performAction(ItemActionChip.java:133)
at de.hybris.platform.hmc.generic.AbstractActionChip.processEvents(AbstractActionChip.java:92)
at de.hybris.platform.hmc.webchips.DisplayState.dispatchEvents(DisplayState.java:638)
at de.hybris.platform.hmc.webchips.DisplayState.extractEventsFromParameters(DisplayState.java:443)
at de.hybris.platform.hmc.webchips.DisplayState.processEvents(DisplayState.java:354)
at de.hybris.platform.hmc.webchips.MasterServlet.process(MasterServlet.java:190)
at de.hybris.platform.hmc.webchips.MasterServlet.doPost(MasterServlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at de.hybris.platform.servicelayer.web.PlatformFilterChain$InternalFilterChain.doFilter(PlatformFilterChain.java:182)
at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter.doFilter(DynamicCatalogVersionActivationFilter.java:93)
at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter$$FastClassByCGLIB$$2d468805.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter$$EnhancerByCGLIB$$bfdf53.doFilter()
at de.hybris.platform.servicelayer.web.PlatformFilterChain$InternalFilterChain.doFilter(PlatformFilterChain.java:165)
at de.hybris.platform.servicelayer.web.DataSourceSwitchingFilter.doFilter(DataSourceSwitchingFilter.java:73)
at de.hybris.platform.servicelayer.web.PlatformFilterChain$InternalFilterChain.doFilter(PlatformFilterChain.java:165)
at de.hybris.platform.servicelayer.web.SessionFilter.doFilter(SessionFilter.java:80)
at de.hybris.platform.servicelayer.web.SessionFilter$$FastClassByCGLIB$$bb4593c7.invoke()


Read more...

Keywords

MediaConversionCronJob, mediacontainer , KBA , CEC-SCC-COM-BC-CS , Commerce Services , How To

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.