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 GitHub by zzoi
, 1 year ago
Error parsing private key for Box Developer Edition.
via GitHub by mekhatri1
, 1 year ago
Error parsing private key for Box Developer Edition.
via GitHub by majoely
, 1 year ago
Error parsing private key for Box Developer Edition.
via GitHub by cburnette
, 2 years ago
Error parsing private key for Box Developer Edition.
via GitHub by cheyrico2
, 2 years ago
Error parsing private key for Box Developer Edition.
javax.crypto.BadPaddingException: Given final block not properly padded	at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:966)	at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:824)	at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:436)	at javax.crypto.Cipher.doFinal(Cipher.java:2165)	at org.bouncycastle.openssl.jcajce.PEMUtilities.crypt(Unknown Source)	at org.bouncycastle.openssl.jcajce.JcePEMDecryptorProviderBuilder$1$1.decrypt(Unknown Source)	at org.bouncycastle.openssl.PEMEncryptedKeyPair.decryptKeyPair(Unknown Source)	at com.box.sdk.BoxDeveloperEditionAPIConnection.decryptPrivateKey(BoxDeveloperEditionAPIConnection.java:373)	at com.box.sdk.BoxDeveloperEditionAPIConnection.constructJWTAssertion(BoxDeveloperEditionAPIConnection.java:327)	at com.box.sdk.BoxDeveloperEditionAPIConnection.authenticate(BoxDeveloperEditionAPIConnection.java:237)	at com.box.sdk.BoxDeveloperEditionAPIConnection.tryRestoreUsingAccessTokenCache(BoxDeveloperEditionAPIConnection.java:305)	at com.box.sdk.BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(BoxDeveloperEditionAPIConnection.java:169)	at com.helpers.BoxHelper.adminClient(BoxHelper.java:67)	at com.box.sdk.appusersexample.LoginServlet.doGet(LoginServlet.java:45)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)	at org.eclipse.jetty.server.Server.handle(Server.java:499)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)	at java.lang.Thread.run(Thread.java:745)