当我在 Windows Server 2012 上运行 kinit 命令时,它会给出空指针错误。请给我任何解决方案。
D:\Junk_Folder>kinit user
Password for user@DOMAIN.COM:
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)