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

Soem NPE when sendning some request with lacking data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0-M15
    • 1.0.0-M16
    • 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

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: