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

NPE when a site type is unknown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.5, 4.4.0
    • 4.4.0
    • None
    • None
    • 4.4 M3

      Following NPE is displayed when a type site is unknown. 

      This kind of error should not failed on NPE. 

      java.lang.NullPointerException
          at org.ametys.web.site.SiteConfigurationManager._isSiteConfigurationValid(SiteConfigurationManager.java:183)
          at org.ametys.web.site.SiteConfigurationManager.isSiteConfigurationValid(SiteConfigurationManager.java:161)
          at org.ametys.web.site.SiteConfigurationManager.isSiteConfigurationValid(SiteConfigurationManager.java:142)
          at org.ametys.web.administration.MisconfiguredSitesNotificator.getNotifications(MisconfiguredSitesNotificator.java:54)
          at org.ametys.runtime.plugins.admin.notificator.AdministratorNotificatorExtensionPoint.getNotifications(AdministratorNotificatorExtensionPoint.java:47)

            Unassigned Unassigned
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: