Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17603

Fix error when creating a new user with a custom schema

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF15
    • Fix Version/s: 6.0-HF17, 7.4
    • Component/s: Directory

      Description

      The creation of a new user from Admin > Users & groups screen fails with 3 UI error message : "An empty response was received from the server. Check server error logs".

      In the logs, the stacktrace contains a NPE:

      Caused by: java.lang.NullPointerException
      	at org.nuxeo.ecm.directory.sql.SQLSession.createEntry(SQLSession.java:305)
      	at org.nuxeo.ecm.directory.sql.SQLSession.createEntry(SQLSession.java:1210)
      	at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.createUser(UserManagerImpl.java:1437)
      	at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.createUser(UserManagerImpl.java:899)
      	at org.nuxeo.ecm.webapp.security.UserManagementActions.createUser(UserManagementActions.java:221)
      	at org.nuxeo.ecm.webapp.security.UserManagementActions.createUser(UserManagementActions.java:216)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: