Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-2302

Faceted navigation breaks CMS (UI)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • 11.2.16
    • None
    • None
    • None

    Description

      Due to a NPE (see below), it is impossible to open CMS document tree, through console nor CMS itself.
      This is most probably caused by wrong faceted configuration, but the problem is that those nodes cannot be accessed. Strangely, I was able to delete nodes by groovy script if I provide full facet path, but running //element query was not able to fetch those nodes.

      Caused by: java.lang.NullPointerException
      	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:882)
      	at com.google.common.cache.LocalCache.getIfPresent(LocalCache.java:3948)
      	at com.google.common.cache.LocalCache$LocalManualCache.getIfPresent(LocalCache.java:4859)
      	at org.hippoecm.repository.FacetedNavigationEngineImpl.filterDocIdSetPlainLuceneQuery(FacetedNavigationEngineImpl.java:816)
      	at org.hippoecm.repository.FacetedNavigationEngineImpl.doView(FacetedNavigationEngineImpl.java:375)
      	at org.hippoecm.repository.FacetedNavigationEngineImpl.view(FacetedNavigationEngineImpl.java:335)
      	at org.hippoecm.repository.FacetedNavigationEngineImpl.view(FacetedNavigationEngineImpl.java:95)
      	at org.hippoecm.repository.jackrabbit.facetnavigation.FacetNavigationProvider.doPopulate(FacetNavigationProvider.java:272)
      	at org.hippoecm.repository.jackrabbit.facetnavigation.FacetNavigationProvider.populate(FacetNavigationProvider.java:95)
      	at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.getItemState(HippoLocalItemStateManager.java:390)
      	at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
      	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:382)
      	at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:668)
      	at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:646)
      	at org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:120)
      	at org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:257)
      	at org.hippoecm.repository.decorating.RangeIteratorDecorator.next(RangeIteratorDecorator.java:112)
      	at org.hippoecm.repository.decorating.NodeIteratorDecorator.nextNode(NodeIteratorDecorator.java:54)
      	at org.hippoecm.frontend.observation.NodeState.<init>(NodeState.java:137)
      	at org.hippoecm.frontend.observation.JcrListener.addParentsToCache(JcrListener.java:172)
      	at org.hippoecm.frontend.observation.JcrListener.init(JcrListener.java:160)
      	at org.hippoecm.frontend.observation.JcrObservationManager.addEventListener(JcrObservationManager.java:91)
      	at org.hippoecm.frontend.model.event.JcrEventListener.start(JcrEventListener.java:73)
      	at org.hippoecm.frontend.model.JcrNodeModel.startObservation(JcrNodeModel.java:142)
      	at org.hippoecm.frontend.model.event.ObservableRegistry.addObserver(ObservableRegistry.java:131)
      	at org.hippoecm.frontend.model.event.ObservableRegistry$1.onServiceAdded(ObservableRegistry.java:114)
      	at org.hippoecm.frontend.model.event.ObservableRegistry$1.onServiceAdded(ObservableRegistry.java:109)
      	at org.hippoecm.frontend.service.ServiceTracker.addService(ServiceTracker.java:42)
      	at org.hippoecm.frontend.plugin.impl.PluginManager.internalRegisterService(PluginManager.java:276)
      	at org.hippoecm.frontend.plugin.impl.ServiceRegistration.notifyTrackers(ServiceRegistration.java:56)
      	at org.hippoecm.frontend.plugin.impl.PluginContext.registerService(PluginContext.java:228)
      	at org.hippoecm.frontend.plugins.standards.list.datatable.ListDataTable.newRowItem(ListDataTable.java:267)
      	at org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable$DefaultDataGridView.newRowItem(DataTable.java:573)
      	at org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView.newItem(AbstractDataGridView.java:99)
      	at org.apache.wicket.markup.repeater.RefreshingView$1.newItem(RefreshingView.java:113)
      	at org.apache.wicket.markup.repeater.ReuseIfModelsEqualStrategy$1.next(ReuseIfModelsEqualStrategy.java:88)
      	at org.apache.wicket.markup.repeater.ReuseIfModelsEqualStrategy$1.next(ReuseIfModelsEqualStrategy.java:70)
      	at org.apache.wicket.markup.repeater.RefreshingView.addItems(RefreshingView.java:189)
      	at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:97)
      	at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:123)
      	at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1687)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: