Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-580

NPE when saving user preferences on FO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.1
    • 2.2
    • None
    • None

      I have 4 user preferences :

      • name
      • date
      • email
      • password

      In a same page I added 2 services of user preferences :

      • one with email and date
      • another with name
      • I do not select password

      When saving one of the forms, I get a NPE in logs.

      Caused by: java.lang.NullPointerException
      	at org.ametys.runtime.plugins.core.userpref.UserPreferencesExtensionPoint.validatePreferences(UserPreferencesExtensionPoint.java:185)
      	at org.ametys.runtime.plugins.core.userpref.SetUserPreferencesAction.act(SetUserPreferencesAction.java:91)
      	at org.ametys.web.userpref.SetFOUserPreferencesAction.act(SetFOUserPreferencesAction.java:62)
      

            ngavalda Nicolas Gavalda (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: