cancel
Showing results for 
Search instead for 
Did you mean: 

POTENTIAL PROBLEM: COMPARING PK WITH STRING THAT HAS PK-FORMAT ...

Former Member
0 Kudos

Currently our logs are being filled with these warnings and exceptions. It appears to be caused by the backoffice - at least we've not seen part of the application creating such errors. Unfortunately, we've not found the cause of the issue. Any idea what the problem is and how to solve it. Will be very grateful for your support. Below is the full exception:

We're using hybris version 6.2.0

INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | WARNING: POTENTIAL PROBLEM: COMPARING PK WITH STRING THAT HAS PK-FORMAT [this=8796117106770,o=35607] INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | java.lang.Exception INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at de.hybris.platform.core.PK.equals(PK.java:436) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at java.util.AbstractList.equals(AbstractList.java:523) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at java.util.Collections$UnmodifiableList.equals(Collections.java:1306) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at de.hybris.platform.util.Utilities.arrayDeepEqualsReverse(Utilities.java:1467) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at de.hybris.platform.regioncache.key.legacy.AbstractLegacyRegistrableCacheKey.equals(AbstractLegacyRegistrableCacheKey.java:108) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.Element.equals(Element.java:359) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.store.AbstractPolicy.selectedBasedOnPolicy(AbstractPolicy.java:77) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.store.MemoryStore.findEvictionCandidate(MemoryStore.java:621) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.store.MemoryStore.removeElementChosenByEvictionPolicy(MemoryStore.java:591) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.store.MemoryStore.checkCapacity(MemoryStore.java:574) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.store.MemoryStore.putIfAbsent(MemoryStore.java:860) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.Cache.putIfAbsent(Cache.java:3711) INFO | jvm 2 | main | 2017/06/26 12:26:59.575 | at net.sf.ehcache.Cache.putIfAbsent(Cache.java:3684) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.regioncache.region.impl.EHCacheRegion.getWithLoader(EHCacheRegion.java:318) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.regioncache.DefaultCacheController.getWithLoader(DefaultCacheController.java:237) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.cache.impl.RegionCacheAdapter.getOrAddUnit(RegionCacheAdapter.java:213) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.tx.Transaction$GlobalCacheAdapter.getOrAddUnit(Transaction.java:2383) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.cache.AbstractCacheUnit.get(AbstractCacheUnit.java:176) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.persistence.type.AtomicType_HJMPWrapper$FindByCodeExact1FinderResult.getFinderResult(AtomicType_HJMPWrapper.java:1283) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.persistence.type.AtomicType_HJMPWrapper.ejbFindByCodeExact(AtomicType_HJMPWrapper.java:1342) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at java.lang.reflect.Method.invoke(Method.java:498) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.util.Utilities.callMethod(Utilities.java:1085) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.util.Utilities.callMethod(Utilities.java:1075) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.persistence.framework.HomeInvocationHandler.invoke(HomeInvocationHandler.java:91) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at com.sun.proxy.$Proxy131.findByCodeExact(Unknown Source) INFO | jvm 2 | main | 2017/06/26 12:26:59.576 | at de.hybris.platform.persistence.type.TypeManagerEJB.findByCodeExact(TypeManagerEJB.java:269) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at de.hybris.platform.persistence.type.TypeManagerEJB.getType(TypeManagerEJB.java:238) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at de.hybris.platform.persistence.type.TypeManagerEJB.getType(TypeManagerEJB.java:223) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at de.hybris.platform.jalo.type.TypeManager.getType(TypeManager.java:126) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at de.hybris.platform.servicelayer.type.daos.impl.DefaultTypeDao.findTypeByCode(DefaultTypeDao.java:82) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at de.hybris.platform.servicelayer.type.impl.DefaultTypeService.getTypeForCode(DefaultTypeService.java:155) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at com.hybris.backoffice.cockpitng.dataaccess.facades.common.PlatformFacadeStrategyHandleCache.canHandle(PlatformFacadeStrategyHandleCache.java:71) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at com.hybris.backoffice.cockpitng.dataaccess.facades.type.DefaultPlatformTypeFacadeStrategy.canHandle(DefaultPlatformTypeFacadeStrategy.java:515) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at com.hybris.cockpitng.dataaccess.facades.type.impl.TypeFacadeStrategyRegistry.canHandle(TypeFacadeStrategyRegistry.java:28) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at com.hybris.cockpitng.dataaccess.facades.type.impl.TypeFacadeStrategyRegistry.canHandle(TypeFacadeStrategyRegistry.java:22) INFO | jvm 2 | main | 2017/06/26 12:26:59.577 | at com.hybris.cockpitng.dataaccess.facades.common.impl.AbstractStrategyRegistry.canHandle(AbstractStrategyRegistry.java:55) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.dataaccess.facades.common.impl.AbstractStrategyRegistry.getStrategy(AbstractStrategyRegistry.java:71) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.dataaccess.facades.common.impl.AbstractStrategyRegistry.getStrategy(AbstractStrategyRegistry.java:80) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.dataaccess.facades.type.impl.DefaultTypeFacade.load(DefaultTypeFacade.java:41) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.dataaccess.facades.type.impl.DefaultTypeFacade.load(DefaultTypeFacade.java:54) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.labels.impl.TypeQualifierStringObjectHandler.getTypeLabel(TypeQualifierStringObjectHandler.java:122) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.labels.impl.TypeQualifierStringObjectHandler.getObjectLabel(TypeQualifierStringObjectHandler.java:56) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.labels.impl.DefaultLabelService.getObjectLabel(DefaultLabelService.java:76) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.labels.impl.TypeAwareLabelService.getObjectLabel(TypeAwareLabelService.java:36) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.backoffice.labels.impl.BackofficeLabelService.getObjectLabel(BackofficeLabelService.java:57) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.util.impl.DefaultWidgetRenderingUtils.computeLabel(DefaultWidgetRenderingUtils.java:97) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.util.impl.DefaultWidgetRenderingUtils.getAttributeLabel(DefaultWidgetRenderingUtils.java:55) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.renderer.DefaultListCellRenderer.renderInternal(DefaultListCellRenderer.java:80) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.renderer.DefaultListCellRenderer.render(DefaultListCellRenderer.java:64) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.renderer.DefaultListCellRenderer.render(DefaultListCellRenderer.java:33) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:76) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.renderer.DefaultListViewRenderer.render(DefaultListViewRenderer.java:91) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.renderer.DefaultListViewRenderer.render(DefaultListViewRenderer.java:46) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.ListViewCollectionBrowserMoldStrategy.lambda$renderEntries$213(ListViewCollectionBrowserMoldStrategy.java:543) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at org.zkoss.zul.Listbox$Renderer.render(Listbox.java:2764) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at org.zkoss.zul.Listbox.doInitRenderer(Listbox.java:2590) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at org.zkoss.zul.Listbox.onInitRender(Listbox.java:2541) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at java.lang.reflect.Method.invoke(Method.java:498) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2989) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2919) INFO | jvm 2 | main | 2017/06/26 12:26:59.578 | at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1822) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1607) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1317) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:611) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:485) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:494) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at com.hybris.backoffice.mobile.filter.BackofficeMobileFilter.doFilter(BackofficeMobileFilter.java:59) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:254) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$StatisticsGatewayFilter.doFilter(AbstractPlatformFilterChain.java:343) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.SecureMediaFilter.doFilter(SecureMediaFilter.java:105) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at com.hybris.cockpitng.modules.spring.filter.ExternalModuleContextClassLoaderFilter.doFilter(ExternalModuleContextClassLoaderFilter.java:44) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter.doFilter(DynamicCatalogVersionActivationFilter.java:91) INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter$$FastClassBySpringCGLIB$$2d468805.invoke() INFO | jvm 2 | main | 2017/06/26 12:26:59.579 | at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter$$EnhancerBySpringCGLIB$$f9693a70.doFilter() INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.DataSourceSwitchingFilter.doFilter(DataSourceSwitchingFilter.java:71) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.SessionFilter.doFilter(SessionFilter.java:71) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.RedirectWhenSystemIsNotInitializedFilter.doFilter(RedirectWhenSystemIsNotInitializedFilter.java:102) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.TenantActivationFilter.doFilter(TenantActivationFilter.java:89) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.Log4JFilter.doFilter(Log4JFilter.java:45) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain.doFilterInternal(AbstractPlatformFilterChain.java:154) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) INFO | jvm 2 | main | 2017/06/26 12:26:59.580 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at de.hybris.platform.servicelayer.web.XSSFilter.processPatternsAndDoFilter(XSSFilter.java:293) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at de.hybris.platform.servicelayer.web.XSSFilter.doFilter(XSSFilter.java:247) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) INFO | jvm 2 | main | 2017/06/26 12:26:59.581 | at java.lang.Thread.run(Thread.java:748)

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

This happen when some background treatment compare two arrays of jalo cached items, and while PK class override "equals" method, well, when you attempt to compare PK object with String, you get this famous exception. you can look at the code below.

    public boolean equals(Object object) {
       if (this == object) {
          return true;
       } else if (object instanceof PK) {
          return ((PK)object).longValue == this.longValue;
       } else if (object instanceof String) {
          try {
             parse((String)object);
             System.out.println("WARNING: POTENTIAL PROBLEM: COMPARING PK WITH STRING THAT HAS PK-FORMAT [this=" + this.toString() + ",o=" + (String)object + "]");
             (new Exception()).printStackTrace();
          } catch (PK.PKException var2) {
             ;
          }
 
          return false;
       } else {
          return false;
       }
    }

Former Member
0 Kudos

Looks like it's fixed in release 6.3 https://jira.hybris.com/browse/ECP-1920

0 Kudos

We are observing this issue also with a SAP Commerce 1811 (Patch 23) when browsing in backoffice. What could be the cause of it and is it worth fixing it as it is "only" a warning.

0 Kudos

Can someone assist me on that issue?

Former Member
0 Kudos

We see the same issue in our environments. Has anyone found the fix for this? It seems OOTB hybris issue.