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 2008/03/13 17:10:24 UTC

[jira] Resolved: (DIRSERVER-1135) NullPointerException in ClientBinaryValue

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

Emmanuel Lecharny resolved DIRSERVER-1135.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.2

The code has been changed to avoid a NPE

> NullPointerException in ClientBinaryValue
> -----------------------------------------
>
>                 Key: DIRSERVER-1135
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1135
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>            Reporter: Kiran Ayyagari
>             Fix For: 1.5.2
>
>
> The below code in ClientBinaryValue.java will trow a NullPointerException if the value of variable 'valid' is null
> public final boolean isValid() throws NamingException
>    {
>        if ( valid != null )
>        {
>            return valid;
>        }
>        return valid;
>    } 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.