kerberos kinit gives java.lang.NullPointerException on Windows server 12

875 views Asked by At

When I run kinit command on windows server 2012 it gives null pointer error. please give me any solution.

D:\Junk_Folder>kinit user
Password for [email protected]:
Exception: java.lang.NullPointerException
java.lang.NullPointerException
    at sun.security.krb5.internal.KDCReqBody.asn1Encode(KDCReqBody.java:242)
    at sun.security.krb5.internal.KDCReq.asn1Encode(KDCReq.java:202)
    at sun.security.krb5.KrbAsReq.encoding(KrbAsReq.java:148)
    at sun.security.krb5.KrbAsReqBuilder.send(KrbAsReqBuilder.java:319)
    at sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:364)
    at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:221)
    at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:113)
0

There are 0 answers