java.lang.ClassCastException: java.lang.String

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 3004, 1 year ago
java.lang.ClassCastException: java.lang.String
at weblogic.security.ldaprealm.LDAPDelegate.authLocal(LDAPDelegate.java:455)
at weblogic.security.ldaprealm.LDAPDelegate.authenticate(LDAPDelegate.java:381)
at weblogic.security.ldaprealm.LDAPRealm.authUserPassword(LDAPRealm.java:60)
at weblogic.security.acl.AbstractListableRealm.authInternal(AbstractListableRealm.java:188)
at weblogic.security.acl.AbstractListableRealm.authenticate(AbstractListableRealm.java:129)
at weblogic.security.acl.AbstractListableRealm.getUser(AbstractListableRealm.java:112)
at weblogic.security.acl.CachingRealm.authenticate(CachingRealm.java:1256)
at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:1178)
at weblogic.security.acl.Realm.authenticate(Realm.java:181)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:199)
at weblogic.security.acl.internal.Security.authenticate(Security.java:81)
at weblogic.servlet.internal.ServletContextImpl.checkA(ServletContextImpl.java:1644)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:719)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

Users with the same issue

You are the first who have seen this exception.

Write tip

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