Image du projet 'Plugin Calendar' téléversée
  1. Plugin Calendar
  2. CALENDAR-118

Indexing calendar portlets generate errors

    Informations

    • Type: Bogue
    • Etat: Résolue
    • Priorité: Simple
    • Résolution: Corrigé
    • Affecte la/les version(s): 2.0.0
    • Version(s) corrigée(s): Aucune
    • Étiquettes:
      Aucune

      Description

      The generated stacktrace is the following :

      31/08/12 15:15:23 ERROR [Daemon indexer] lutece.error - Indexing error : null
      java.lang.NullPointerException
      at fr.paris.lutece.plugins.calendar.service.XMLUtils.getXMLPortletCalendar(XMLUtils.java:508)
      at fr.paris.lutece.plugins.calendar.business.portlet.CalendarPortlet.getXml(CalendarPortlet.java:218)
      at fr.paris.lutece.portal.service.page.PageService.getPortletContent(PageService.java:564)
      at fr.paris.lutece.portal.service.page.PageService.getPageContent(PageService.java:459)
      at fr.paris.lutece.portal.service.search.PageIndexer.getDocument(PageIndexer.java:195)
      at fr.paris.lutece.portal.service.search.PageIndexer.indexDocuments(PageIndexer.java:91)
      at fr.paris.lutece.portal.service.search.IndexationService.processIndexing(IndexationService.java:211)
      at fr.paris.lutece.portal.service.daemon.IndexerDaemon.run(IndexerDaemon.java:57)
      at fr.paris.lutece.portal.service.daemon.DaemonThread.run(DaemonThread.java:84)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
      at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      31/08/12 15:15:23 ERROR [Daemon indexer] lutece.error - Indexing error : null
      java.lang.NullPointerException
      at fr.paris.lutece.plugins.calendar.service.XMLUtils.getXMLPortletCalendar(XMLUtils.java:508)
      at fr.paris.lutece.plugins.calendar.business.portlet.CalendarPortlet.getXml(CalendarPortlet.java:218)
      at fr.paris.lutece.portal.service.page.PageService.getPortletContent(PageService.java:564)
      at fr.paris.lutece.portal.service.page.PageService.getPageContent(PageService.java:459)
      at fr.paris.lutece.portal.service.search.PageIndexer.getDocument(PageIndexer.java:195)
      at fr.paris.lutece.portal.service.search.PageIndexer.indexDocuments(PageIndexer.java:91)
      at fr.paris.lutece.portal.service.search.IndexationService.processIndexing(IndexationService.java:211)
      at fr.paris.lutece.portal.service.daemon.IndexerDaemon.run(IndexerDaemon.java:57)
      at fr.paris.lutece.portal.service.daemon.DaemonThread.run(DaemonThread.java:84)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
      at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      

      The issue comes from the fact that the request is null when indexing, thus throwing a NullPointerException.

        Pièces jointes

          Frais

            Activité

            Pas encore de commentaires sur cette demande.

              Personnes

              • Attribution:
                lho LHO
                Rapporteur:
                lli LLI
              • Votes:
                0 Voter pour cette demande
                Gérer les observateurs:
                1 Commencer l'observation de cette demande

                Dates

                • Création:
                  Mise à jour:
                  Résolue: