This content has been marked as final. Show 2 replies
No it doesn't. That code cannot possibly give any errors. JNDI doesn't work like that. The error happened later on when you sent the attributes to the LDAP server. Please post the complete exception and stack trace and the code to which the stack trace refers, indicating clearly exactly which line of code threw the exception.