Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13177

Fix error at shutdown on DocumentModelStatusPersister

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8
    • Fix Version/s: 5.8.0-HF18, 5.9.3
    • Component/s: Infrastructure

      Description

      The following error is sometimes shown at shutdown:

      2013-11-14 10:35:14,212 INFO  [main] [org.apache.catalina.core.StandardService] Stopping service Catalina
      2013-11-14 10:35:15,297 INFO  [localhost-startStop-2] [org.quartz.core.QuartzScheduler] Scheduler Quartz_$_NON_CLUSTERED shutting down.
      2013-11-14 10:35:15,297 INFO  [localhost-startStop-2] [org.quartz.core.QuartzScheduler] Scheduler Quartz_$_NON_CLUSTERED paused.
      2013-11-14 10:35:15,298 INFO  [localhost-startStop-2] [org.quartz.core.QuartzScheduler] Scheduler Quartz_$_NON_CLUSTERED shutdown complete.
      2013-11-14 10:35:15,304 ERROR [Nuxeo-Administrative-Statuses-Notify-Scheduler] [org.nuxeo.ecm.core.management.storage.DocumentModelStatusPersister] Error while fetching all service status for instance Linux-55e741967bd16c83543741f29ec0bc74--14bd8c5406d6120cfea750d629c1873
      org.nuxeo.ecm.core.api.ClientException: java.lang.NullPointerException
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:153)
      	at org.nuxeo.ecm.core.management.storage.DocumentModelStatusPersister.getAllStatuses(DocumentModelStatusPersister.java:239)
      	at org.nuxeo.ecm.core.management.statuses.AdministrativeStatusManagerImpl.doNotifyAllStatuses(AdministrativeStatusManagerImpl.java:115)
      	at org.nuxeo.ecm.core.management.statuses.AdministrativeStatusManagerImpl$NotifyStatusesHandler.run(AdministrativeStatusManagerImpl.java:126)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      Caused by: java.lang.NullPointerException
      	at org.nuxeo.runtime.AbstractRuntimeService.getService(AbstractRuntimeService.java:279)
      	at org.nuxeo.runtime.api.Framework.getLocalService(Framework.java:232)
      	at org.nuxeo.runtime.api.ServiceManager.getService(ServiceManager.java:127)
      	at org.nuxeo.runtime.api.Framework.getService(Framework.java:212)
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:133)
      	... 11 more
      

      See for instance https://qa.nuxeo.org/jenkins/job/FT-nuxeo-master-selenium-dm-tomcat_permanentCheck/3143/artifact/tomcat-selenium/log/server.log

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: