Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-119

Soem NPE when sendning some request with lacking data

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M15
    • Fix Version/s: 1.0.0-M16
    • Labels:
      None

      Description

      Sending a request, like a ModifyRequest, with some missing data like the DN will leads to some NPE inside the encoder, which will translates to some cryptic error being returned by the server :

      org.apache.directory.api.ldap.model.exception.LdapException: PROTOCOL_ERROR: The server will disconnect!

      We need to return a decent error, and also avoid any NPE.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elecharny Emmanuel Lecharny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: