Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6945283

LdapClient.search fails with NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 6u18
    • core-libs

      com.sun.jndi.ldap.LdapClient.search throws IOException when it finds its connection has closed but it may intermittently fail with a NullPointerException when the connection is closed in between the time that it confirms that it is still open and the time that it performs an operation on it.

      java.lang.NullPointerException
      at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:528)
      at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1948)
      at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1810)
      at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1735)

            xuelei Xuelei Fan
            memmi Mario Emmi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: