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

NPE in statistics generation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.0
    • None
    • None
    • None
    • 4.7.0 RC1

      java.lang.NullPointerException: Cannot invoke "String.compareTo(String)" because the return value of "org.ametys.runtime.i18n.I18nizableText.getLabel()" is null
      at org.ametys.cms.statistics.CMSStatisticsProvider$1#compare:115
      at org.ametys.cms.statistics.CMSStatisticsProvider$1#compare:112
      at java.base/java.util.TimSort#binarySort:296
      at java.base/java.util.TimSort#sort:221
      at java.base/java.util.Arrays#sort:1307
      at java.base/java.util.ArrayList#sort:1721
      at org.ametys.cms.statistics.CMSStatisticsProvider#_getContentTypes:112
      at org.ametys.cms.statistics.CMSStatisticsProvider#getStatistics:81
      

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: