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"}


Solutions on the web489

Solution icon of googlegroups
java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"scope":"GLOBAL","keyStoreSource":{"value":"1","uploadedKeystore

Solution icon of jenkins
via Jenkins JIRA by KC Stegbauer, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"scope":"GLOBAL","authorizationCode":"zATYTkWgO-AAAAAAAAADg36w0_MgnCNSVMyTvefDD4Dt7XB-c5sgb-SK1PQrOoMf","description":"DB","id

Solution icon of jenkins
via Jenkins JIRA by KC Stegbauer, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"scope":"GLOBAL","authorizationCode":"zATYTkWgO-AAAAAAAAADg36w0_MgnCNSVMyTvefDD4Dt7XB-c5sgb-SK1PQrOoMf","description":"DB","id

Solution icon of jenkins
via Jenkins JIRA by Jake Andersen, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"stapler-class":"com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey","scope":"","id":"cf32bb49-ae98-4b1c

Solution icon of jenkins
via Jenkins JIRA by Jake Andersen, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"stapler-class":"com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey","scope":"","id":"cf32bb49-ae98-4b1c

Solution icon of web
via jenkins-ci.org by Unknown author, 9 months ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"hudson.plugins.dimensionsscm.DimensionsSCM","$class":"hudson.plugins.dimensionsscm.DimensionsSCM","project":"NIFAIS:DEV_STREAM","folders":{"folders":"/"

Solution icon of jenkins
via Jenkins JIRA by Tom Ghyselinck, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.copyartifact.BuildSelector from {"name":"BYTEBLOWER_SERVER_BUILD","value":"<SavedBuildSelector/>"}

Solution icon of jenkins
via Jenkins JIRA by Tom Ghyselinck, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.copyartifact.BuildSelector from {"name":"BYTEBLOWER_SERVER_BUILD","value":"<SavedBuildSelector/>"}

Solution icon of jenkins
via Jenkins JIRA by Abhimanyu Singh, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM

Solution icon of jenkins
via Jenkins JIRA by Mark M, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM

Stack trace

javax.servlet.ServletException: java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from {"scope":"GLOBAL","keyStoreSource":{"value":"1","uploadedKeystore":"MIIGegIBAzCCBk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CGgUABBS5aqOqUR6kIld8peywddkZ7aqH2gQIzGwG2EFFsJ4CAggA","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"}
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
	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 org.kohsuke.stapler.Stapler.service(Stapler.java:238)
	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$CachedChain.doFilter(ServletHandler.java:1669)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	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 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	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 org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:745)
Caused by: 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/81xQeAqEVwWSMJkUIXtNsRVLwkHEhr1dnnoilmZxLe7zBEf8vLoCKlH9BYKIziSmhRBBupUyTnxVZwtJ7Sx8VbzkjVbgtzmWECBrLUk5iU1oTmM7O842FoDW2uyvAR4p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W0YiSx7kcr1Njb12v/VPm/P2gwzvtQfUj4CyGto90InOKIxHSkZzOlNzA58BioWOXm1dGTdEqhJExoACmKD3Hi/vWZNdLO5qLqvR2cdxcpKSmCh9wzfA8BwcmVlKGOrLRAqqlIWcRAb3QHQfKj8pIt8voZvV76+wxfUDUpk3pP9PDdz5Ae3QP2v2Z0aTaHKjLNxulbHRCwW+MSE+wOJWhIbA9bICNO7VwbrYKVNTrHjkNh2whUBwgsE2Msa0Htgs6HgbWeMbDdNUnic+9kGCPCYQCnqWxh6fE21notHEQZvjnn1v0zEK7DCTFp/ejWuq/3FcHIViRoRJJvlbBjKb+zKfTlTN2jgL7Hqq6V0xPjAXBgkqhkiG9w0BCRQxCh4IAG4AbwBuAGUwIwYJKoZIhvcNAQkVMRYEFFwJgioig3q9dDV6xo6vEGdZryR5MDEwITAJBgUrDgMCGgUABBS5aqOqUR6kIld8peywddkZ7aqH2gQIzGwG2EFFsJ4CAggA","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"}
	at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:602)
	at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
	at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400)
	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)
	... 51 more
Caused by: java.lang.IllegalArgumentException: Failed to convert the keyStoreSource parameter of the constructor public com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope,java.lang.String,java.lang.String,java.lang.String,com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl$KeyStoreSource)
	at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:699)
	at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:81)
	at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:600)
	... 66 more
Caused by: java.lang.IllegalArgumentException: Failed to instantiate class com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl$KeyStoreSource from {"value":"1","uploadedKeystore":"MIIGegIBAzCCBkAGCSqGSIb3DQEHAaCCBjEEggYtMIIGKTCCAw8GCSqGSIb3DQEHBqCCAwAwggL8AgEAMIIC9QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIlyBLvtXN5nACAggAgIICyEwxMBP/+B4slNrMNsiCwGVRCsAlbtz83hBEClpinxnYDe4BBMaDfRRRnZlWDToEOsmTkoRTJikkfFGkmhFTZO9yAz4/xgy8BoPv/uw2G1IbHu+PXSvJpOob0Xf9Y7F1Emn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yMI0jB4JNZHK3y3mer+LEmXDfz/R+RTDsVo/ynE/LF00OliSijdafRt5q1u7zhYpzOfPRddj0Ycj2q8c2wuuCW5PGYyOg7/RvlY+CuBoS+Id8cj+JQm3XHpmixm4M3KGBcV2rkIIIn5kb3EVxXTdWstY37rGOXnEwooxltjy34UF9TKv7US27048Bj1YGvc8zIJzOdGQOV8WyYta30JMTQ/u7/kTc9NSBWS5PI8VQu2rKcmr2V+MQzC+VvsWUNcLqgUIogYo3vfvVJmH/eskVHT/xLbmqrjPqTtHUokYDPvhvsAOwm8zJ3hUyXnNQ9xt9kokZ5Y+cpYOueDnKK4+6bRUEailFuW0YiSx7kcr1Njb12v/VPm/P2gwzvtQfUj4CyGto90InOKIxHSkZzOlNzA58BioWOXm1dGTdEqhJExoACmKD3Hi/vWZNdLO5qLqvR2cdxcpKSmCh9wzfA8BwcmVlKGOrLRAqqlIWcRAb3QHQfKj8pIt8voZvV76+wxfUDUpk3pP9PDdz5Ae3QP2v2Z0aTaHKjLNxulbHRCwW+MSE+wOJWhIbA9bICNO7VwbrYKVNTrHjkNh2whUBwgsE2Msa0Htgs6HgbWeMbDdNUnic+9kGCPCYQCnqWxh6fE21notHEQZvjnn1v0zEK7DCTFp/ejWuq/3FcHIViRoRJJvlbBjKb+zKfTlTN2jgL7Hqq6V0xPjAXBgkqhkiG9w0BCRQxCh4IAG4AbwBuAGUwIwYJKoZIhvcNAQkVMRYEFFwJgioig3q9dDV6xo6vEGdZryR5MDEwITAJBgUrDgMCGgUABBS5aqOqUR6kIld8peywddkZ7aqH2gQIzGwG2EFFsJ4CAggA","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"}
	at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:602)
	at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
	at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:697)
	... 68 more
Caused by: java.lang.IllegalArgumentException: Failed to convert the uploadedKeystore parameter of the constructor public com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl$UploadedKeyStoreSource(com.cloudbees.plugins.credentials.SecretBytes)
	at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:699)
	at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:81)
	at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:600)
	... 70 more
Caused by: 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)
	... 72 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

28 times, 1 year ago
Once, 1 year ago