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

Calculation of usage statistics fails from BO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.9.11, 4.10.0
    • 4.9.10
    • None
    • None
    • 4.10 RC1
    • Oui

      Calculation of usage statistics for CMS fails with following error :

      Niveau : ERROR
      Catégorie : org.ametys.core.schedule.AmetysJob$statistics
      URI de la requête : /_admin/plugins/admin/config/set
      Message : An exception occurred during the execution of the Schedulable 'statistics'
      Emplacement : org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:163)
      
      Pile d'appels :
      java.lang.NullPointerException: Cannot invoke "org.ametys.plugins.repository.activities.ActivityType.getId()" because the return value of "org.ametys.plugins.repository.activities.Activity.getActivityType()" is null
      at org.ametys.plugins.repository.activities.RepositoryStatisticsProvider#_computeActivitiesStatistics:73
      at org.ametys.plugins.repository.activities.RepositoryStatisticsProvider#getStatistics:55
      at org.ametys.runtime.plugins.admin.statistics.StatisticsProviderExtensionPoint#computeStatistics:74
      at org.ametys.runtime.plugins.admin.statistics.StatisticsSchedulable#execute:72
      at org.ametys.core.schedule.AmetysJob#execute:157
      at org.quartz.core.JobRunShell#run:202
      at org.quartz.simpl.SimpleThreadPool$WorkerThread#run:573 

            ggouin Guillaume Gouin
            dcartier David Cartier-Michaud
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: