javax.servlet.ServletException: java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"scope":"GLOBAL","keyStoreSource":{"value":"1","uploadedKeystore":"MIIGegIBAzCCBkAGCSqGSIb3DQEHAaCCBjEEggYtMIIGKTCCAw8GCSqGSIb3DQEHBqCCAwAwggL8AgEAMIIC9QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIlyBLvtXN5nACAggAgIICyEwxMBP/+B4slNrMNsiCwGVRCsAlbtz83hBEClpinxnYDe4BBMaDfRRRnZlWDToEOsmTkoRTJikkfFGkmhFTZO9yAz4/xgy8BoPv/uw2G1IbHu+PXSvJpOob0Xf9Y7F1EmnZ6h7IZ2Yws/qoMDiCnPds5rB4dnrrpoFzYx1dWl3yOV+G/lguOdZCmaaOLNEux0JcX/hQvK067AS7Gw0V4KMxaHQNPX4kKQrPO7+1C6hUyF1BEppjuO9zjy4LymkkNPJHvrHarkgfxrFcnIaYRQrwGNKqp2zxcbGbY29f02CIpeap14ULo6anbX/HHxc5L2TS8F1ybz/TvF/HhKT+Y3BRe61Q/81xQeAqEVwWSMJkUIXtNsRVLwkHEhr1dnnoilmZxLe7zBEf8vLoCKlH9BYKIziSmhRBBupUyTnxVZwtJ7Sx8VbzkjVbgtzmWECBrLUk5iU1oTmM7O842FoDW2uyvAR4p8nBxTHihrCG+5rDl6Vhu/d9zG98F+DK52c1locZak+tF9fN5CDHLqtUoL8tzNhHeETS8zoVJbHkoeT/gMesfUusDaj9NgTzmxN8KOZLUavJWE1GlSmVnbGrYQkrJkNNfqiwdfydrR/u16sx0VGgKsueOFVy1MMoALeMycgjX4akq1zPY5WAtCd7fg8TAaUVFiy+sQrBqR7qleCjPdCrC820FdxguzbBwxn8UEmLY3lsuAhsQi2pVQ7AT9fNFAEVwb4B/DtvZP3gYRm6MCT6ngYjU+JRa9SeZzmCgIjphWxDQm66VvZ7nxaKU+3NTATqyb9aeL7Z5hTN86tmqs6+KSKThRMFGHC3Sl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lTN2jgL7Hqq6V/n0xPjAXBgkqhkiG9w0BCRQxCh4IAG4AbwBuAGUwIwYJKoZIhvcNAQkVMRYEFFwJgioig3q9dDV6xo6vEGdZryR5MDEwITAJBgUrDgMCGgUABBS5aqOqUR6kIld8peywddkZ7aqH2gQIzGwG2EFFsJ4CAggA","stapler-class":"com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl$UploadedKeyStoreSource","kind":"com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl$UploadedKeyStoreSource","$class":"com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl$UploadedKeyStoreSource"},"password":"changeit","id":"my-certificate","description":"my-certificate","stapler-class":"com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl","$class":"com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl"}

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 Jenkins JIRA by Vladimir Trubnikov, 1 year ago
java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder from {"":["0","0","8"],"condition":{"stapler-class":"org.jenkins_ci.plugins.run_condition.core.AlwaysRun"},"runner
via Jenkins JIRA by Vladimir Trubnikov, 1 year ago
java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder from {"":["0","0","8"],"condition":{"stapler-class":"org.jenkins_ci.plugins.run_condition.core.AlwaysRun"},"runner
via Google Groups by Michael, 2 years ago
java.lang.RuntimeException: Failed to instantiate class hudson.triggers.SCMTrigger from {"scmpoll_spec":"/15 * * * *"}
via Google Groups by zakyn, 2 years ago
java.lang.RuntimeException: Failed to instantiate class hudson.plugins.emailext.ExtendedEmailPublisher from {"project_recipient_list":"$DEFAULT_RECIPIENTS","project_replyto":"$DEFAULT_REPLYTO","project_content_type":"default
via jenkins-ci.org by Unknown author, 1 year ago
java.lang.RuntimeException: Failed to instantiate class hudson.plugins.parameterizedtrigger.TriggerBuilder from { :{ : , : , : , : , : }, : , : }
via Jenkins JIRA by Niall Crowley, 1 year ago
java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper from {"bindings":{"usernameVariable":"username","passwordVariable":"password","credentialsId":["39da78ac-bc43-4fe7-b1d2
java.lang.IllegalArgumentException: Unable to convert to class com.cloudbees.plugins.credentials.SecretBytes
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:657)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:697)
at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:81)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:600)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:697)
at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:81)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:600)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
at com.cloudbees.plugins.credentials.CredentialsStoreAction$DomainWrapper.doCreateCredentials(CredentialsStoreAction.java:777)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46)
at org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
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 java.lang.Thread.run(Thread.java:745)

Users with the same issue

28 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.