Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6991

NPE in SolrPageIndexer after tagging a page

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M8
    • None
    • None
    • None

      2015-12-16 16:36:39,115 ERROR [org.ametys.web.indexing.observation.SolrPageDataUpdateObserver] (http-nio-8080-exec-8;/cms/plugins/core-ui/servercomm/messages.xml) Unable to create or update index for event: event[id: page.updated, issuer: admin, args: [page.tags = [PUBLIQUE], page = '/ametys-internal:sites/www/ametys-internal:sitemaps/fr/test-selection/nouvelle-page' (page://bf678e75-6b67-4bf0-9eb5-437d68d08c32), page.old.tags = '/ametys-internal:sites/www/ametys-internal:sitemaps/fr/test-selection/nouvelle-page' (page://bf678e75-6b67-4bf0-9eb5-437d68d08c32)]]
      java.lang.NullPointerException
      	at org.ametys.web.indexing.solr.SolrPageIndexer.unindexPage(SolrPageIndexer.java:515)
      	at org.ametys.web.indexing.observation.AbstractLiveSolrObserver._updatePageDocument(AbstractLiveSolrObserver.java:290)
      	at org.ametys.web.indexing.observation.AbstractLiveSolrObserver._updatePageDocument(AbstractLiveSolrObserver.java:268)
      	at org.ametys.web.indexing.observation.SolrPageDataUpdateObserver._updateIndex(SolrPageDataUpdateObserver.java:42)
      	at org.ametys.web.indexing.observation.AbstractLiveSolrObserver.observe(AbstractLiveSolrObserver.java:94)
      	at org.ametys.core.observation.ObservationManager.notify(ObservationManager.java:115)
      	at org.ametys.web.repository.page.PageDAO.tag(PageDAO.java:1672)
      	at org.ametys.web.repository.page.PageDAO.tag(PageDAO.java:1713)
      	at org.ametys.web.repository.page.PageDAO.tag(PageDAO.java:1697)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.ametys.core.ui.ExecuteClientCallsAction._executeMethod(ExecuteClientCallsAction.java:133)
      	at org.ametys.core.ui.ExecuteClientCallsAction.act(ExecuteClientCallsAction.java:120)
      

            ngavalda Nicolas Gavalda (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: