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

NPE when accessing the configuration screen on FO side

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.0M8
    • 4.0M7
    • None
    • None

        [CMS-7460] NPE when accessing the configuration screen on FO side

        Laurence Aumeunier added a comment - - edited

        Due to the missing i18n key plugin.core-impl:PLUGINS_CORE_DATASOURCE_CORE_CONFIG_JDBC_CATEGORY_DATASOURCE
        The translation of this key returns null

        Laurence Aumeunier added a comment - - edited Due to the missing i18n key plugin.core-impl:PLUGINS_CORE_DATASOURCE_CORE_CONFIG_JDBC_CATEGORY_DATASOURCE The translation of this key returns null

        java.lang.NullPointerException 
            at org.ametys.core.util.I18nizableTextComparator.compare(I18nizableTextComparator.java:41) 
            at org.ametys.core.util.I18nizableTextComparator.compare(I18nizableTextComparator.java:25) 
            at java.util.TreeMap.put(TreeMap.java:552) 
            at java.util.AbstractMap.putAll(AbstractMap.java:281) 
            at java.util.TreeMap.putAll(TreeMap.java:327) 
            at org.ametys.runtime.plugins.admin.configuration.ConfigGenerator._sortCategories(ConfigGenerator.java:197) 
            at org.ametys.runtime.plugins.admin.configuration.ConfigGenerator.generate(ConfigGenerator.java:63) 
        

        Laurence Aumeunier added a comment - java.lang.NullPointerException at org.ametys.core.util.I18nizableTextComparator.compare(I18nizableTextComparator.java:41) at org.ametys.core.util.I18nizableTextComparator.compare(I18nizableTextComparator.java:25) at java.util.TreeMap.put(TreeMap.java:552) at java.util.AbstractMap.putAll(AbstractMap.java:281) at java.util.TreeMap.putAll(TreeMap.java:327) at org.ametys.runtime.plugins.admin.configuration.ConfigGenerator._sortCategories(ConfigGenerator.java:197) at org.ametys.runtime.plugins.admin.configuration.ConfigGenerator.generate(ConfigGenerator.java:63)

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

            Created:
            Updated:
            Resolved: