You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2013/02/04 03:30:12 UTC

[jira] [Created] (DIRAPI-119) Soem NPE when sendning some request with lacking data

Emmanuel Lecharny created DIRAPI-119:
----------------------------------------

             Summary: Soem NPE when sendning some request with lacking data
                 Key: DIRAPI-119
                 URL: https://issues.apache.org/jira/browse/DIRAPI-119
             Project: Directory Client API
          Issue Type: Bug
            Reporter: Emmanuel Lecharny
            Priority: Critical


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira