Skip to Content
1
Former Member
May 12, 2016 at 08:34 AM

Entity not found error

496 Views

Hi experts,

As per below exception, the cart object is deleted or not found after user login ,

org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3449f4ce]]]]'!; nested exception is Entity not found ( pk = 9099533254699 name = 'de.hybris.platform.persistence.core_Cart' type code = '43' db table = 'carts'): object no longer valid] with root cause INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | de.hybris.platform.util.jeeapi.YNoSuchEntityException: Entity not found ( pk = 9099533254699 name = 'de.hybris.platform.persistence.core_Cart' type code = '43' db table = 'carts') INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at de.hybris.platform.persistence.GenericBMPBean.loadData(GenericBMPBean.java:260) INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at de.hybris.platform.persistence.GenericBMPBean.ejbLoad(GenericBMPBean.java:149) INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at de.hybris.platform.persistence.framework.RemoteInvocationHandler.performOutsideTx(RemoteInvocationHandler.java:185) INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at de.hybris.platform.persistence.framework.RemoteInvocationHandler.performOther(RemoteInvocationHandler.java:164)

INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at com.hybris.pmi.frsh.storefront.security.PMIFrshCoreAuthenticationProvider.authenticate(PMIFrshCoreAuthenticationProvider.java:138) INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at com.hybris.pmi.frsh.storefront.security.PMIFrshAcceleratorAuthenticationProvider.authenticate(PMIFrshAcceleratorAuthenticationProvider.java:81) INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156) INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:177) INFO | jvm 1 | main | 2016/05/02 20:35:18.866 | at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java)

What all could be the possible reasons for cart object not found (apart from old cart deletion happening from cart removal job in scheduled basis), which is causing this to happen? Any pointers will be helpful.

Thanks