NullPointerException at com.sun.jndi.ldap.Connection.run(Connection.java:52

We are using the Sun jndi 1.2.1 files from a Java client to

access the IBM SecureWay Directory 3.2 server. Our test case is

retrieving entries using the ctx.getAttributes (String, String[])

method. Occasionally we are receiving the following error.

java.lang.NullPointerException

at com.sun.jndi.ldap.Connection.run(Connection.java:525)

at java.lang.Thread.run(Thread.java:481)

The java.lang.NullPointerException is coming from the Sun JNDI file.

Our program is not catching this exception.

Has anyone seen this problem before and have any ideas on how this can be resolved?

[643 byte] By [sjoffe] at [2007-9-26 1:18:17]
# 1
Download and use LDAP 1.2.3 or JDK 1.3.1.The problem should go away.
rosanna at 2007-6-29 0:49:07 > top of Java-index,Core,Core APIs...