Uploaded image for project: 'User Directory'
  1. User Directory
  2. UD-163

NPE on user rendering if classification metadata does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.7, 2.2.0
    • None
    • None
    • 4.2 M10

      I created a empty user with "Create user" button is BO.
      The classification metadata (lastname) is not yet available
      I have the following error:

      Caused by: java.lang.NullPointerException
      	at org.ametys.plugins.userdirectory.page.UserDirectoryPageResolver._getUserPath(UserDirectoryPageResolver.java:120)
      	at org.ametys.plugins.userdirectory.page.UserDirectoryPageResolver.getUserPageId(UserDirectoryPageResolver.java:105)
      	at org.ametys.plugins.userdirectory.page.UserDirectoryPageResolver.getUserPage(UserDirectoryPageResolver.java:87)
      	at org.ametys.plugins.userdirectory.page.UserDirectoryPageResolver.getUserPage(UserDirectoryPageResolver.java:74)
      	at org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper.getUserPage(UserXSLTHelper.java:149)
      	at org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper.getUserPage(UserXSLTHelper.java:122)
      

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

              Created:
              Updated:
              Resolved: