1 Reply Latest reply: Nov 17, 2011 5:24 AM by Aborah-Oracle RSS

    Null Pointer at com.sun.jndi.ldap.LdapCtx.getSearchReply

    796745
      Hi,

      We are reading some data from LDAP. While trying to iterate through the returned result, we get a NPE as below.
      java.lang.NullPointerException
           at com.sun.jndi.ldap.LdapCtx.getSearchReply(LdapCtx.java:1919)
           at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:126)
           at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:213)
           at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:186)
      Any idea what could be going wrong here?

      Thanks.