directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRAPI-119) Soem NPE when sendning some request with lacking data
Date Mon, 04 Feb 2013 02:30:12 GMT
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

Mime
View raw message