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

When there is a syntax error into the WEB-INF/param/sitemap-icons.xml file, I have an NPE

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.12, 4.2.0
    • 4.2.0
    • None
    • None

      With the 4.2 M10
      How to reproduce it :

      • use this sitemap-icons.xml file in attachment
      • start the CMS : the sitemap panel is empty and I get this error :
        Caused by: java.lang.NullPointerException
        
           at org.ametys.web.sitemap.DefaultSitemapDecoratorsHandler.getIcon(DefaultSitemapDecoratorsHandler.java:104)

          [CMS-9679] When there is a syntax error into the WEB-INF/param/sitemap-icons.xml file, I have an NPE

          Laure Lopez made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaël Franchet made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.2.0 [ 14425 ]
          Fix Version/s New: 4.1.12 [ 14985 ]
          Laurence Aumeunier made changes -
          Affects Version/s New: 4.2.0 [ 14425 ]
          Raphaël Franchet made changes -
          Summary Original: When there is a syntaxe error into the WEB-INF/param/sitemap-icons.xml file, I have an NPE New: When there is a syntax error into the WEB-INF/param/sitemap-icons.xml file, I have an NPE
          Laurence Aumeunier made changes -
          Summary Original: When there is wrong code into the WEB-INF/param/sitemap-icons.xml file, I have an NPE New: When there is a syntaxe error into the WEB-INF/param/sitemap-icons.xml file, I have an NPE
          Laure Lopez created issue -

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: