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

Soem NPE when sendning some request with lacking data

Watch issueLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment