SAP Knowledge Base Article - Preview

2601451 - cockpit - NullPointerException from de.hybris.platform.cockpit.services.values.impl.GenericItemObjectValueHandler

Symptom

Sometimes you can see that cockpit throws:

java.lang.NullPointerException
de.hybris.platform.cockpit.services.values.impl.GenericItemObjectValueHandler$2.call(GenericItemObjectValueHandler.java:392)
de.hybris.platform.cockpit.services.values.impl.GenericItemObjectValueHandler$2.call(GenericItemObjectValueHandler.java:1)
de.hybris.platform.cockpit.cache.RequestCacheCallable.get(RequestCacheCallable.java:44)
de.hybris.platform.cockpit.services.values.impl.GenericItemObjectValueHandler.getMatchingDescriptors(GenericItemObjectValueHandler.java:400)
de.hybris.platform.cockpit.services.values.impl.GenericItemObjectValueHandler.loadValues(GenericItemObjectValueHandler.java:131)
sun.reflect.GeneratedMethodAccessor873.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
com.sun.proxy.$Proxy169.loadValues(Unknown Source)
de.hybris.platform.cockpit.util.TypeTools.createValueContainer(TypeTools.java:467)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.lookupRelatedReferences(SynchronizationServiceImpl.java:1565)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.lookupRelatedReferences(SynchronizationServiceImpl.java:1615)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.lookupRelatedReferences(SynchronizationServiceImpl.java:1615)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.lookupRelatedReferences(SynchronizationServiceImpl.java:1615)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.lookupRelatedReferences(SynchronizationServiceImpl.java:1615)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.getRelatedReferences(SynchronizationServiceImpl.java:1468)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.getSyncInfo(SynchronizationServiceImpl.java:609)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.getSyncContext(SynchronizationServiceImpl.java:1327)
de.hybris.platform.cockpit.services.sync.impl.SynchronizationServiceImpl.getSyncContext(SynchronizationServiceImpl.java:1307)
de.hybris.platform.cmscockpit.components.listview.impl.CmsElementSyncAction.doCreateContext(CmsElementSyncAction.java:66)
de.hybris.platform.cockpit.components.listview.AbstractListViewAction.createContext(AbstractListViewAction.java:69)
de.hybris.platform.cockpit.model.gridview.impl.DefaultGridItemRenderer.renderActions(DefaultGridItemRenderer.java:179)
de.hybris.platform.cockpit.model.gridview.impl.DefaultGridItemRenderer.render(DefaultGridItemRenderer.java:125)
de.hybris.platform.cmscockpit.session.impl.CmsCatalogBrowserModel$1.render(CmsCatalogBrowserModel.java:168)
de.hybris.platform.cockpit.model.gridview.impl.GridView.createItemBox(GridView.java:666)
de.hybris.platform.cockpit.model.gridview.impl.GridView.continueRenderItems(GridView.java:507)
de.hybris.platform.cockpit.model.gridview.impl.GridView.renderItems(GridView.java:441)
de.hybris.platform.cockpit.model.gridview.impl.GridView.initialize(GridView.java:377)
de.hybris.platform.cockpit.model.gridview.impl.GridView.setModel(GridView.java:134)
de.hybris.platform.cockpit.components.contentbrowser.MainAreaGridviewBrowserComponent.loadGridView(MainAreaGridviewBrowserComponent.java:346)
de.hybris.platform.cockpit.components.contentbrowser.MainAreaGridviewBrowserComponent.createMainArea(MainAreaGridviewBrowserComponent.java:287)
de.hybris.platform.cockpit.components.contentbrowser.AbstractMainAreaBrowserComponent.initialize(AbstractMainAreaBrowserComponent.java:106)
de.hybris.platform.cockpit.components.contentbrowser.DefaultAdvancedContentBrowser.initialize(DefaultAdvancedContentBrowser.java:258)
de.hybris.platform.cockpit.components.contentbrowser.AbstractContentBrowser.setModel(AbstractContentBrowser.java:152)
de.hybris.platform.cockpit.components.contentbrowser.DefaultAdvancedContentBrowser.setModel(DefaultAdvancedContentBrowser.java:79)
de.hybris.platform.cockpit.components.contentbrowser.DefaultSearchContentBrowser.setModel(DefaultSearchContentBrowser.java:48)
de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.createBrowserView(AbstractBrowserArea.java:979)
de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.update(AbstractBrowserArea.java:557)
de.hybris.platform.cmscockpit.session.impl.CatalogBrowserArea.update(CatalogBrowserArea.java:170)
de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.initBrowsers(AbstractBrowserArea.java:419)
de.hybris.platform.cockpit.components.contentbrowser.CenterAreaContainer$1.onEvent(CenterAreaContainer.java:42)
org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197)
org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)


Read more...

Environment

SAP Hybris Commerce 5.7 - 6.2

Product

SAP Hybris Commerce 6.0 ; SAP Hybris Commerce 6.1 ; SAP Hybris Commerce 6.2 ; SAP hybris Commerce 5.7

Keywords

KBA , CEC-COM-CPS-CKP , CPS Cockpits & hMC (SAP Hybris) , Bug Filed

About this page

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

Search for additional results

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