Skip to Content
2
Former Member
Jul 01, 2016 at 09:17 AM

NPE in CMS Cockpit, only restart helps

100 Views

We sometimes get a NullPointerException in CMS Cockpit when opening a catalog. When this happens that exception will not go away, so that CMS Cockpit isn't usable anymore. Only after a restart it will disappear.

Is this a problem at our side or is it a hybris bug?

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