javax.security.auth.login.LoginException

java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web204

  • via Unknown by 807578,
  • via Unknown by Unknown author,
  • Stack trace

    • javax.security.auth.login.LoginException: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null! at sun.security.krb5.EncryptionKey.<init>(EncryptionKey.java:212) at sun.security.krb5.EncryptionKey.acquireSecretKeys(EncryptionKey.java:190) at sun.security.krb5.EncryptionKey.acquireSecretKeys(EncryptionKey.java:158) at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:656) at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:542) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at com.sun.vda.service.ldap.ADConnection.kerberosLogin(ADConnection.java:151) at com.sun.vda.service.ldap.UserDirConnection.checkUserCredentials(UserDirConnection.java:230) at com.sun.vda.service.client.ClientRequestWorker.authenticate(ClientRequestWorker.java:139) at com.sun.vda.service.client.ClientRequestWorker.execute(ClientRequestWorker.java:117) at com.sun.vda.service.client.ClientRequestWorker.run(ClientRequestWorker.java:74) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at com.sun.vda.service.ldap.ADConnection.kerberosLogin(ADConnection.java:151) at com.sun.vda.service.ldap.UserDirConnection.checkUserCredentials(UserDirConnection.java:230) at com.sun.vda.service.client.ClientRequestWorker.authenticate(ClientRequestWorker.java:139) at com.sun.vda.service.client.ClientRequestWorker.execute(ClientRequestWorker.java:117) at com.sun.vda.service.client.ClientRequestWorker.run(ClientRequestWorker.java:74) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    10 more bugmates