Skip to Content
0
Sep 02, 2015 at 04:16 PM

Order threshold free gift throwing errors when updating promotions

214 Views

Hi all, we are trying to introduce the Order threshold free gift in our system (we are using 5.1.0.5) but it's not working and it's throwing this error:

 GRAVE: El Servlet.service() para el servlet [frontend] en el contexto con ruta [] lanzó la excepción [Request processing failed; nested exception is item 8861926195244 no longer valid (was removed): object no longer valid] con causa raíz
 item 8861926195244 no longer valid (was removed): object no longer valid
         at de.hybris.platform.jalo.Item$CachedGetter.get(Item.java:662)
         at de.hybris.platform.jalo.Item$CachedGetter.get(Item.java:655)
         at de.hybris.platform.jalo.Item.getPersistenceVersion(Item.java:1534)
         at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.reload(ItemModelConverter.java:566)
         at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.refresh(DefaultModelService.java:574)
         at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
         at com.sun.proxy.$Proxy26.refresh(Unknown Source)
         at de.hybris.platform.promotions.impl.AbstractPromotionsService.refreshModifiedModelsAfter(AbstractPromotionsService.java:103)
         at de.hybris.platform.promotions.impl.DefaultPromotionsService.updatePromotions(DefaultPromotionsService.java:241)


The problem is when trying to update promotions on cart. I've seen this issue appearing for more people but nothing about what's the cause or how to solve it.

Thanks for reading in advance!