I am using the Mozilla/Netscape Java Director SDK v4.1. I attempt to set a connection to follow referrals with:

LDAPSearchConstraints cons = anon_conn.getSearchConstraints();
cons.setReferrals(true);
anon_conn.setSearchConstraints(cons);

No referral exception (good), but I get:

java.lang.ArrayStoreException
        at java.lang.System.arraycopy(Native Method)
        at java.util.Vector.copyInto(Vector.java:162)
        at netscape.ldap.LDAPSearchResults.sort(LDAPSearchResults.java:300)

when I attempt to sort. Is there a restriction against sorting referred results? Can I get this working in some other way?

Jon Roberts
www.mentata.com




Reply via email to