This discussion is archived
1 Reply Latest reply: Nov 17, 2011 3:24 AM by Aborah-Oracle RSS

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

796745 Newbie
Currently Being Moderated
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.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points