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] [Closed] (DIRAPI-119) Soem NPE when sendning some request with lacking data
Date Thu, 08 Jan 2015 16:57:34 GMT

     [ https://issues.apache.org/jira/browse/DIRAPI-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny closed DIRAPI-119.
------------------------------------
    Resolution: Fixed

> 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
>    Affects Versions: 1.0.0-M15
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 1.0.0-M16
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message