java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.host.domain/my-project/my-repo/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/my-project/my-repo","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.host.domain:my-project/my-repo.git"},"value":"2","wipeOutWorkspace":false}

Jenkins JIRA | Marc Günther | 3 years ago
  1. 0

    Sometimes (about once out of 10 times), when I do this: - click Configure of a job, - change something (not GitSCM related), - click on Save, I get the exception below. The workaround is to simply click Configure again, make the same change again and Save, and then it succeeds. {code}Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.host.domain/my-project/my-repo/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/my-project/my-repo","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.host.domain:my-project/my-repo.git"},"value":"2","wipeOutWorkspace":false} at hudson.model.Descriptor.newInstance(Descriptor.java:602) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1484) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1405) at hudson.scm.SCMS.parseSCM(SCMS.java:63) at hudson.model.AbstractProject.submit(AbstractProject.java:1878) at hudson.model.Project.submit(Project.java:195) at hudson.model.Job.doConfigSubmit(Job.java:1045) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:729) at sun.reflect.GeneratedMethodAccessor1439.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.service(Stapler.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 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 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.corp.mobile.de/mobile-platform/testautomation-generic-suite/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/mobile-platform/testautomation-generic-suite","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.corp.mobile.de:mobile-platform/testautomation-generic-suite.git"},"value":"2","wipeOutWorkspace":false} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:582) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:373) at hudson.model.Descriptor.newInstance(Descriptor.java:593) ... 95 more Caused by: java.lang.IllegalArgumentException: Failed to convert the buildChooser parameter of the constructor public hudson.plugins.git.GitSCM(java.lang.String,java.util.List,java.util.List,hudson.plugins.git.UserMergeOptions,java.lang.Boolean,java.util.Collection,boolean,boolean,hudson.plugins.git.util.BuildChooser,hudson.plugins.git.browser.GitRepositoryBrowser,java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,boolean,java.lang.String,boolean,boolean) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:576) ... 98 more Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.util.BuildChooser from {"stapler-class":"hudson.tasks.Maven"} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:582) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:574) ... 98 more Caused by: java.lang.IllegalArgumentException: Specified type class hudson.tasks.Maven is not assignable to the expected class hudson.plugins.git.util.BuildChooser at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:552) ... 100 more {code} Interesting bits extracted: - IllegalArgumentException: Failed to instantiate class hudson.plugins.git.GitSCM from {...} - Failed to convert the buildChooser parameter of the constructor public hudson.plugins.git.GitSCM(...) - Failed to instantiate class hudson.plugins.git.util.BuildChooser from {"stapler-class":"hudson.tasks.Maven"} - Specified type class *hudson.tasks.Maven is not assignable to* the expected class *hudson.plugins.git.util.BuildChooser* Why would it want to instantiate a {{hudson.plugins.git.util.BuildChooser}} from a {{hudson.tasks.Maven}}? The big map at the beginning of the excption looks like this: - "":["hudson.plugins.git.util.DefaultBuildChooser","6"] - "authorOrCommitter":false - "branches":{"name":"master"} - "browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb" - "url":"http://git.corp.mobile.de/mobile-platform/testautomation-generic-suite/"} - "buildChooser":{"stapler-class":"hudson.tasks.Maven"} - "clean":false - "disableSubmodules":false - "excludedRegions":"" - "excludedUsers":"" - "gitConfigEmail":"" - "gitConfigName":"" - "gitTool":"Default" - "ignoreNotifyCommit":false - "includedRegions":"" - "localBranch":"master" - "pruneBranches":true - "recursiveSubmodules":true - "reference":"/home/jenkins/reference_repositories/mobile-platform/testautomation-generic-suite" - "relativeTargetDir":"" - "remotePoll":true - "scmName":"" - "skipTag":false - "useShallowClone":false - "userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.corp.mobile.de:mobile-platform/testautomation-generic-suite.git"} - "value":"2" - "wipeOutWorkspace":false And sure enough it contains the suspicious line: - "buildChooser":{"stapler-class":"hudson.tasks.Maven"} There is a similar issue (JENKINS-14707), where that line reads: - "buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"} Why would stapler put that completely unrelated class name there? When I look at the {{config.xml}} of the project, I see this: {{<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>}} which looks reasonable.

    Jenkins JIRA | 3 years ago | Marc Günther
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.host.domain/my-project/my-repo/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/my-project/my-repo","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.host.domain:my-project/my-repo.git"},"value":"2","wipeOutWorkspace":false}
  2. 0

    Sometimes (about once out of 10 times), when I do this: - click Configure of a job, - change something (not GitSCM related), - click on Save, I get the exception below. The workaround is to simply click Configure again, make the same change again and Save, and then it succeeds. {code}Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.host.domain/my-project/my-repo/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/my-project/my-repo","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.host.domain:my-project/my-repo.git"},"value":"2","wipeOutWorkspace":false} at hudson.model.Descriptor.newInstance(Descriptor.java:602) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1484) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1405) at hudson.scm.SCMS.parseSCM(SCMS.java:63) at hudson.model.AbstractProject.submit(AbstractProject.java:1878) at hudson.model.Project.submit(Project.java:195) at hudson.model.Job.doConfigSubmit(Job.java:1045) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:729) at sun.reflect.GeneratedMethodAccessor1439.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.service(Stapler.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 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 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.corp.mobile.de/mobile-platform/testautomation-generic-suite/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/mobile-platform/testautomation-generic-suite","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.corp.mobile.de:mobile-platform/testautomation-generic-suite.git"},"value":"2","wipeOutWorkspace":false} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:582) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:373) at hudson.model.Descriptor.newInstance(Descriptor.java:593) ... 95 more Caused by: java.lang.IllegalArgumentException: Failed to convert the buildChooser parameter of the constructor public hudson.plugins.git.GitSCM(java.lang.String,java.util.List,java.util.List,hudson.plugins.git.UserMergeOptions,java.lang.Boolean,java.util.Collection,boolean,boolean,hudson.plugins.git.util.BuildChooser,hudson.plugins.git.browser.GitRepositoryBrowser,java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,boolean,java.lang.String,boolean,boolean) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:576) ... 98 more Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.util.BuildChooser from {"stapler-class":"hudson.tasks.Maven"} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:582) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:574) ... 98 more Caused by: java.lang.IllegalArgumentException: Specified type class hudson.tasks.Maven is not assignable to the expected class hudson.plugins.git.util.BuildChooser at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:552) ... 100 more {code} Interesting bits extracted: - IllegalArgumentException: Failed to instantiate class hudson.plugins.git.GitSCM from {...} - Failed to convert the buildChooser parameter of the constructor public hudson.plugins.git.GitSCM(...) - Failed to instantiate class hudson.plugins.git.util.BuildChooser from {"stapler-class":"hudson.tasks.Maven"} - Specified type class *hudson.tasks.Maven is not assignable to* the expected class *hudson.plugins.git.util.BuildChooser* Why would it want to instantiate a {{hudson.plugins.git.util.BuildChooser}} from a {{hudson.tasks.Maven}}? The big map at the beginning of the excption looks like this: - "":["hudson.plugins.git.util.DefaultBuildChooser","6"] - "authorOrCommitter":false - "branches":{"name":"master"} - "browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb" - "url":"http://git.corp.mobile.de/mobile-platform/testautomation-generic-suite/"} - "buildChooser":{"stapler-class":"hudson.tasks.Maven"} - "clean":false - "disableSubmodules":false - "excludedRegions":"" - "excludedUsers":"" - "gitConfigEmail":"" - "gitConfigName":"" - "gitTool":"Default" - "ignoreNotifyCommit":false - "includedRegions":"" - "localBranch":"master" - "pruneBranches":true - "recursiveSubmodules":true - "reference":"/home/jenkins/reference_repositories/mobile-platform/testautomation-generic-suite" - "relativeTargetDir":"" - "remotePoll":true - "scmName":"" - "skipTag":false - "useShallowClone":false - "userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.corp.mobile.de:mobile-platform/testautomation-generic-suite.git"} - "value":"2" - "wipeOutWorkspace":false And sure enough it contains the suspicious line: - "buildChooser":{"stapler-class":"hudson.tasks.Maven"} There is a similar issue (JENKINS-14707), where that line reads: - "buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"} Why would stapler put that completely unrelated class name there? When I look at the {{config.xml}} of the project, I see this: {{<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>}} which looks reasonable.

    Jenkins JIRA | 3 years ago | Marc Günther
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.host.domain/my-project/my-repo/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/my-project/my-repo","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.host.domain:my-project/my-repo.git"},"value":"2","wipeOutWorkspace":false}
  3. 0

    Jenkins issues - [JIRA] (JENKINS-14707) Failed to instantiate class hudson.plugins.git.GitSCM

    nabble.com | 1 year ago
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"": ,"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"org.jfrog.hudson.util.Credentials"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":" ","gitConfigName":"optimatics","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"optimizer-documentation-origin","refspec":"","url":" :optimatics/optimizer-documentation.git"},"value":"0","wipeOutWorkspace":false}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins PHP Sample Test Project

    Stack Overflow | 4 years ago | Michael Irey
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","7"],"authorOrCommitter":false,"branches":{"name":"**"},"browser":{"stapler-class":"hudson.plugins.dry.DryPublisher","url":"http://dev.evanta.com/gitweb/?p=mydemo.git"},"buildChooser":{"stapler-class":"hudson.scm.browsers.FishEyeSVN"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":false,"userRemoteConfigs":{"name":"","refspec":"","url":"file:///home/mirey/mydemo"},"value":"1","wipeOutWorkspace":false}
  6. 0

    Status Code: 500 Exception: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","auto"],"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"jenkins@texttochange.com","gitConfigName":"jenkins","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":true,"userRemoteConfigs":{"name":"","refspec":"","url":"https://github.com/texttochange/vusion-frontend"},"value":"1","wipeOutWorkspace":false} Stacktrace: javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","auto"],"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"jenkins@texttochange.com","gitConfigName":"jenkins","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":true,"userRemoteConfigs":{"name":"","refspec":"","url":"https://github.com/texttochange/vusion-frontend"},"value":"1","wipeOutWorkspace":false} at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 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 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","auto"],"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"jenkins@texttochange.com","gitConfigName":"jenkins","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":true,"userRemoteConfigs":{"name":"","refspec":"","url":"https://github.com/texttochange/vusion-frontend"},"value":"1","wipeOutWorkspace":false} at hudson.model.Descriptor.newInstance(Descriptor.java:575) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1508) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1438) at hudson.scm.SCMS.parseSCM(SCMS.java:63) at hudson.model.AbstractProject.submit(AbstractProject.java:1790) at hudson.model.Project.submit(Project.java:197) at hudson.model.Job.doConfigSubmit(Job.java:990) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:699) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) ... 56 more Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","auto"],"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"jenkins@texttochange.com","gitConfigName":"jenkins","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":true,"userRemoteConfigs":{"name":"","refspec":"","url":"https://github.com/texttochange/vusion-frontend"},"value":"1","wipeOutWorkspace":false} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:633) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:373) at hudson.model.Descriptor.newInstance(Descriptor.java:566) ... 73 more Caused by: java.lang.IllegalArgumentException: Failed to convert the buildChooser parameter of the constructor public hudson.plugins.git.GitSCM(java.lang.String,java.util.List,java.util.List,hudson.plugins.git.UserMergeOptions,java.lang.Boolean,java.util.Collection,boolean,boolean,hudson.plugins.git.util.BuildChooser,hudson.plugins.git.browser.GitRepositoryBrowser,java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,boolean,java.lang.String,boolean) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:627) ... 76 more Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.util.BuildChooser from {"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:633) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:625) ... 76 more Caused by: java.lang.IllegalArgumentException: Specified type class hudson.plugins.git.browser.GitoriousWeb is not assignable to the expected class hudson.plugins.git.util.BuildChooser at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:603) ... 78 more

    Jenkins JIRA | 4 years ago | Olivier Vernin
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","auto"],"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"jenkins@texttochange.com","gitConfigName":"jenkins","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":true,"userRemoteConfigs":{"name":"","refspec":"","url":"https://github.com/texttochange/vusion-frontend"},"value":"1","wipeOutWorkspace":false}

  1. davidvanlaatum 1 times, last 6 months ago
  2. rp 1 times, last 8 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Specified type class hudson.tasks.Maven is not assignable to the expected class hudson.plugins.git.util.BuildChooser

    at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON()
  2. Stapler
    RequestImpl.bindJSON
    1. org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:552)
    2. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377)
    3. org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:574)
    4. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377)
    5. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:373)
    5 frames
  3. Hudson
    Descriptor.newInstance
    1. hudson.model.Descriptor.newInstance(Descriptor.java:593)
    1 frame
  4. Hudson GIT plugin
    GitSCM$DescriptorImpl.newInstance
    1. hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1484)
    2. hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1405)
    2 frames
  5. Hudson
    AbstractProject.doConfigSubmit
    1. hudson.scm.SCMS.parseSCM(SCMS.java:63)
    2. hudson.model.AbstractProject.submit(AbstractProject.java:1878)
    3. hudson.model.Project.submit(Project.java:195)
    4. hudson.model.Job.doConfigSubmit(Job.java:1045)
    5. hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:729)
    5 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor1439.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  7. Stapler
    Stapler.service
    1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
    2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
    3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
    4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
    5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
    7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
    8. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
    9. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    10. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
    11. org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
    12. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
    13. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    14. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
    15. org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
    16. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
    17. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    18. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
    19. org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
    20. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
    21. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    22. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
    23. org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
    24. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
    25. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    26. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
    27. org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
    28. org.kohsuke.stapler.Stapler.invoke(Stapler.java:487)
    29. org.kohsuke.stapler.Stapler.service(Stapler.java:164)
    29 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
    1 frame
  9. winstone
    RequestDispatcher.doFilter
    1. winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
    2. winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
    3. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
    3 frames
  10. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
    1 frame
  11. hudson.plugins.greenballs
    GreenBallFilter.doFilter
    1. hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
    1 frame
  12. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
    1 frame
  13. net.bull.javamelody
    PluginMonitoringFilter.doFilter
    1. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
    2. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
    3. net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
    3 frames
  14. org.jvnet.hudson
    HudsonMonitoringFilter.doFilter
    1. org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
    1 frame
  15. Hudson
    PluginServletFilter.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
    2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
    2 frames
  16. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    2 frames
  17. Hudson
    CrumbFilter.doFilter
    1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
    1 frame
  18. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    2 frames
  19. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
    2. hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
    3. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    3 frames
  20. Acegi Security Core
    ExceptionTranslationFilter.doFilter
    1. org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
    1 frame
  21. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  22. Acegi Security Core
    AnonymousProcessingFilter.doFilter
    1. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    1 frame
  23. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  24. Acegi Security Core
    RememberMeProcessingFilter.doFilter
    1. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    1 frame
  25. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  26. Acegi Security Core
    AbstractProcessingFilter.doFilter
    1. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    1 frame
  27. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  28. Acegi Security Core
    BasicProcessingFilter.doFilter
    1. org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
    1 frame
  29. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  30. jenkins.security
    ApiTokenFilter.doFilter
    1. jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
    1 frame
  31. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  32. Acegi Security Core
    HttpSessionContextIntegrationFilter.doFilter
    1. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    1 frame
  33. Hudson
    HudsonFilter.doFilter
    1. hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
    2. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    3. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
    4. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
    4 frames
  34. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    2 frames
  35. Stapler
    CompressionFilter.doFilter
    1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
    1 frame
  36. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    2 frames
  37. Hudson
    CharacterEncodingFilter.doFilter
    1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
    1 frame
  38. winstone
    RequestHandlerThread.run
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    3. winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
    4. winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
    5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
    5 frames
  39. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3 frames
  40. winstone
    BoundedExecutorService$1.run
    1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
    1 frame
  41. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames