Skip to Content
0
Former Member
Oct 11, 2016 at 01:20 PM

NullPointer in FacetContainerController

60 Views

Hello

I got this error message when I open /backoffice. Do you know what could be "null":

 java.lang.NullPointerException
         at de.hybris.commercesearchbackoffice.widgets.facetcontainer.controller.FacetContainerController.isCategoryFacetSelectedInCollection(FacetContainerController.java:280)
         at de.hybris.commercesearchbackoffice.widgets.facetcontainer.controller.FacetContainerController.renderFacets(FacetContainerController.java:195)
         at de.hybris.commercesearchbackoffice.widgets.facetcontainer.controller.FacetContainerController.showCategoryFacets(FacetContainerController.java:109)
         at de.hybris.commercesearchbackoffice.widgets.facetcontainer.controller.FacetContainerController.resetFacets(FacetContainerController.java:123)
         at sun.reflect.GeneratedMethodAccessor519.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at com.hybris.cockpitng.util.WidgetControllers.fireEvent(WidgetControllers.java:331)
         at com.hybris.cockpitng.util.WidgetControllers$1.onEvent(WidgetControllers.java:204)
         at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742)
         at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713)
         at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654)
         at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
         at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:321)
         at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:344)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendSocketEvent(DefaultCockpitWidgetEngine.java:1183)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendEventToTargetWidgetInternal(DefaultCockpitWidgetEngine.java:1082)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendEventToTargetWidget(DefaultCockpitWidgetEngine.java:1030)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendOutput(DefaultCockpitWidgetEngine.java:874)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendOutput(DefaultCockpitWidgetEngine.java:833)
         at com.hybris.cockpitng.engine.impl.DefaultWidgetInstanceManager.sendOutput(DefaultWidgetInstanceManager.java:101)
         at com.hybris.cockpitng.util.DefaultWidgetController.sendOutput(DefaultWidgetController.java:236)
         at de.hybris.commercesearchbackoffice.widgets.solrsearch.SolrSearchController.doSearchInCategory(SolrSearchController.java:152)
         at de.hybris.commercesearchbackoffice.widgets.solrsearch.SolrSearchController.searchInCategory(SolrSearchController.java:130)
         at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at com.hybris.cockpitng.util.WidgetControllers.fireEvent(WidgetControllers.java:331)
         at com.hybris.cockpitng.util.WidgetControllers$1.onEvent(WidgetControllers.java:204)
         at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742)
         at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713)
         at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654)
         at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
         at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:321)
         at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:344)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendSocketEvent(DefaultCockpitWidgetEngine.java:1183)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendEventToTargetWidgetInternal(DefaultCockpitWidgetEngine.java:1082)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendEventToTargetWidget(DefaultCockpitWidgetEngine.java:1030)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendOutput(DefaultCockpitWidgetEngine.java:874)
         at com.hybris.cockpitng.engine.impl.DefaultCockpitWidgetEngine.sendOutput(DefaultCockpitWidgetEngine.java:833)
         at com.hybris.cockpitng.engine.impl.DefaultWidgetInstanceManager.sendOutput(DefaultWidgetInstanceManager.java:101)
         at com.hybris.cockpitng.util.DefaultWidgetController.sendOutput(DefaultWidgetController.java:236)
         at de.hybris.commercesearchbackoffice.widgets.categorytree.CategoryTreeController.selectCategory(CategoryTreeController.java:383)
         at de.hybris.commercesearchbackoffice.widgets.categorytree.CategoryTreeController$CategoryTreeRenderer$1.onEvent(CategoryTreeController.java:256)
         at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742)
         at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713)
         at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654)
         at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
         at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1710)
         at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1495)
         at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1205)
         at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:583)
         at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:481)
         at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:489)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at com.hybris.backoffice.mobile.filter.BackofficeMobileFilter.doFilter(BackofficeMobileFilter.java:58)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:256)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$StatisticsGatewayFilter.doFilter(AbstractPlatformFilterChain.java:345)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at com.hybris.cockpitng.modules.spring.filter.ExternalModuleContextClassLoaderFilter.doFilter(ExternalModuleContextClassLoaderFilter.java:47)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter.doFilter(DynamicCatalogVersionActivationFilter.java:93)
         at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter$$FastClassBySpringCGLIB$$2d468805.invoke(<generated>)
         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
         at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:132)
         at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:120)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633)
         at de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter$$EnhancerBySpringCGLIB$$cabb7879.doFilter(<generated>)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at de.hybris.platform.servicelayer.web.DataSourceSwitchingFilter.doFilter(DataSourceSwitchingFilter.java:73)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at de.hybris.platform.servicelayer.web.SessionFilter.doFilter(SessionFilter.java:73)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at de.hybris.platform.servicelayer.web.RedirectWhenSystemIsNotInitializedFilter.doFilter(RedirectWhenSystemIsNotInitializedFilter.java:104)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at de.hybris.platform.servicelayer.web.TenantActivationFilter.doFilter(TenantActivationFilter.java:91)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at de.hybris.platform.servicelayer.web.Log4JFilter.doFilter(Log4JFilter.java:47)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain.doFilterInternal(AbstractPlatformFilterChain.java:156)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at de.hybris.platform.servicelayer.web.XSSFilter.doFilter(XSSFilter.java:230)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
         at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
         at java.lang.Thread.run(Thread.java:745)
 

Thanks for your help. Andy