Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36179

Not able to save job config if used aws-code pipeline plugin

    Details

    • Similar Issues:
    • Epic Link:

      Description

      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 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:135)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      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)

        Attachments

          Issue Links

            Activity

            Hide
            kikichao kiki chao added a comment -

            Same thing happened to me and fixed by removing the docker-slave plugin
            https://wiki.jenkins-ci.org/display/JENKINS/Docker+Slaves+Plugin

            Show
            kikichao kiki chao added a comment - Same thing happened to me and fixed by removing the docker-slave plugin https://wiki.jenkins-ci.org/display/JENKINS/Docker+Slaves+Plugin
            Hide
            deshari desh hari added a comment -

            Hello Team,
            Still this is a Bug or is its something wrong with our config steps as I'm also getting same issue while using Base Clear Case with dynamic views plugin config steps with Jenkinsfile [Pipeline as code] leading to :
            When saving the job we get the following error: Caused by: java.lang.IllegalArgumentException:
            Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from
            View Tag: Core_view
            View path: Core_view
            configSpec: element * CHECKEDOUT
            element * ...\Core_view_test\LATEST
            mkbranch Core_view_test
            element * /main/LATEST
            LoadRules: load M:\Core_view\<vob_name>
            changeset: current branch
            Branches: Core_view_test
            use dynmic view--> view root: M:\ [advanced options]
            Di not reset config spec : checked
            Script path: Jenkinsfile [this is placed in Clearcase with simple echo command]
            comments or resolutions are appreciated, thanks

            Show
            deshari desh hari added a comment - Hello Team, Still this is a Bug or is its something wrong with our config steps as I'm also getting same issue while using Base Clear Case with dynamic views plugin config steps with Jenkinsfile [Pipeline as code] leading to : When saving the job we get the following error: Caused by: java.lang.IllegalArgumentException: Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from View Tag: Core_view View path: Core_view configSpec: element * CHECKEDOUT element * ...\Core_view_test\LATEST mkbranch Core_view_test element * /main/LATEST LoadRules: load M:\Core_view\<vob_name> changeset: current branch Branches: Core_view_test use dynmic view--> view root: M:\ [advanced options] Di not reset config spec : checked Script path: Jenkinsfile [this is placed in Clearcase with simple echo command] comments or resolutions are appreciated, thanks

              People

              • Assignee:
                awscodepipeline David Nasi
                Reporter:
                abhimanyusingh5 Abhimanyu Singh
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: