java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Distributed Authentication Config
    via by 807573,
    • java.lang.ExceptionInInitializerError at javax.crypto.SecretKeyFactory.getInstance(DashoA12275) at com.iplanet.services.util.JCEEncryption.setPassword(JCEEncryption.java:377) at com.iplanet.services.util.Crypt.createInstance(Crypt.java:139) at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:103) at com.iplanet.am.util.AdminUtils.getAdminDN(AdminUtils.java:106) at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:165) at com.sun.identity.authentication.service.AuthUtils.<clinit>(AuthUtils.java:170) at com.sun.identity.authentication.distUI.LoginServlet.initializeRequestContext(LoginServlet.java:111) at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578) at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459) at javax.servlet.http.HttpServlet.service(HttpServlet.java:787) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580) Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.SunJCE_b.<clinit>(DashoA12275) ... 21 more Caused by: java.security.PrivilegedActionException: java.security.InvalidKeyException: publicKey is not a PKCS #11 public key at java.security.AccessController.doPrivileged(Native Method) ... 22 more Caused by: java.security.InvalidKeyException: publicKey is not a PKCS #11 public key at org.mozilla.jss.pkcs11.PK11Signature.engineInitVerify(PK11Signature.java:172) at org.mozilla.jss.crypto.Signature.initVerify(Signature.java:95) at org.mozilla.jss.provider.Signature.engineInitVerify(Signature.java:94) at org.mozilla.jss.provider.DSASignature.engineInitVerify(DSASignature.java:70) at java.security.Signature.initVerify(Signature.java:426) at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:435) at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:389) at javax.crypto.SunJCE_b.c(DashoA12275) at javax.crypto.SunJCE_b.b(DashoA12275) at javax.crypto.SunJCE_q.run(DashoA12275) ... 23 more
    No Bugmate found.