javax.servlet.ServletException: 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","region":"us-east-1","proxyHost":"","proxyPort":"0","awsAccessKey":"*Removed*","awsSecretKey":"*removed*","clearWorkspace":true,"category":"Build","provider":"Jenkins","version":"1"}

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 Abhimanyu Singh, 1 year ago
","region":"us-east-1","proxyHost":"","proxyPort":"0","awsAccessKey":"*Removed*","awsSecretKey":"*removed*","clearWorkspace":true,"category":"Build","provider":"Jenkins","version":"1"}
via Jenkins JIRA by Abhimanyu Singh, 1 year ago
","region":"us-east-1","proxyHost":"","proxyPort":"0","awsAccessKey":"*Removed*","awsSecretKey":"*removed*","clearWorkspace":true,"category":"Build","provider":"Jenkins","version":"1"}
via Google Groups by alex...@gmail.com (JIRA), 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be <span class="code-keyword" style="color: #000091">cast</span> to net.sf.json.JSONObject
via Jenkins JIRA by Alejandro Ruiz, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via Jenkins JIRA by Alejandro Ruiz, 1 year ago
java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
via Google Groups by jo...@hoblitt.com (JIRA), 1 year ago
java.lang.StringIndexOutOfBoundsException: <span class="code-object" style="color: #910091">String</span> index out of range: 1155
javax.servlet.ServletException: 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","region":"us-east-1","proxyHost":"","proxyPort":"0","awsAccessKey":"*Removed*","awsSecretKey":"*removed*","clearWorkspace":true,"category":"Build","provider":"Jenkins","version":"1"}
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
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:135)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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