[EMAIL PROTECTED] schrieb:
..........
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at org.apache.lenya.ac.ldap.LDAPUser.bind(LDAPUser.java:346)
at
org.apache.lenya.ac.ldap.LDAPUser.getDirectoryEntry(LDAPUser.java:426)
at org.apache.lenya.ac.ldap.LDAPUser.existsUser(LDAPUser.java:137)
... 61 more
Well, we can certainly improve the error handling here !
LDAPUser.java:346 is the reading of the provider-url property, which is
then put in the environment Hashtable. java.util.Hashtable throws a
NullPointerException if you pass a null value.
So it looks like the property "provider-url" is null. In your previous
mail you said
> My LDAP.properties for my application ...
Is your file actually named like this ? It should be ldap.properties
If this is the cause of your problem, we check for file existence in the
code prior to this.
--
Wolfgang
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]