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

Unable to access to CMS if a content type has an unstranslated label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.2.0
    • None
    • None
    • None
    • 4.2 RC3

      The content type gallery failed with a NPE.
      CMS is unreachable.

      Caused by: java.lang.NullPointerException
      	at org.ametys.cms.clientsideelement.ContentTypesGallery$ContentTypeComparator.compare(ContentTypesGallery.java:606)
      	at org.ametys.cms.clientsideelement.ContentTypesGallery$ContentTypeComparator.compare(ContentTypesGallery.java:1)
      	at java.util.TreeMap.put(TreeMap.java:552)
      	at java.util.TreeSet.add(TreeSet.java:255)
      	at org.ametys.cms.clientsideelement.ContentTypesGallery.addContentType(ContentTypesGallery.java:525)
      	at org.ametys.cms.clientsideelement.ContentTypesGallery._getContentTypesByGroup(ContentTypesGallery.java:499)
      	at org.ametys.cms.clientsideelement.ContentTypesGallery._lazyInitializeContentTypeGallery(ContentTypesGallery.java:169)
      	at org.ametys.cms.clientsideelement.ContentTypesGallery._getGalleryItems(ContentTypesGallery.java:107)
      	... 64 more
      

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: