com.sun.identity.authentication.modules.ldap.LDAPUtilException: Cannot find user in search (-1)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807573, 1 year ago
Cannot find user in search (-1)
via Oracle Community by 807573, 1 year ago
com.sun.identity.authentication.modules.ldap.LDAPUtilException: Cannot find user in search (-1)
at com.sun.identity.authentication.modules.ldap.LDAP.processLoginScreen(LDAP.java:413)
at com.sun.identity.authentication.modules.ldap.LDAP.process(LDAP.java:322)
at com.sun.identity.authentication.spi.AMLoginModule.login(AMLoginModule.java:723)
at java.lang.reflect.Method.invoke(Native Method)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
at com.sun.identity.authentication.service.AMLoginContext.run(AMLoginContext.java:274)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.