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

fix NPE in LDAPReference when RDN does not match the ID field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.5, 5.2 M2
    • Fix Version/s: 5.1.6, 5.2 M3
    • Component/s: Directory

      Description

      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.NullPointerException. message: null
      at org.nuxeo.ecm.directory.ldap.LDAPReference.getLdapTargetIds(LDAPReference.java:637)
      at org.nuxeo.ecm.directory.ldap.LDAPSession.ldapResultToDocumentModel(LDAPSession.java:699)
      at org.nuxeo.ecm.directory.ldap.LDAPSession.getEntryFromSource(LDAPSession.java:203)
      at org.nuxeo.ecm.directory.DirectoryCache.getEntry(DirectoryCache.java:67)
      at org.nuxeo.ecm.directory.ldap.LDAPSession.getEntry(LDAPSession.java:192)
      at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.getGroup(UserManagerImpl.java:443)
      at org.nuxeo.ecm.platform.usermanager.ejb.UserManagerBean.getGroup(UserManagerBean.java:197)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ogrisel Olivier Grisel
                Reporter:
                ogrisel Olivier Grisel
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 1 hour
                  1d 1h
                  Remaining:
                  Remaining Estimate - 1 day, 1 hour
                  1d 1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified