java.lang.IllegalArgumentException: Failed to instantiate int from {"cause":null,"localizedMessage":"","message":"","stackTrace":[{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":510,"methodName":"triggerBuild","nativeMethod":false},{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":411,"methodName":"triggerManualBuild","nativeMethod":false},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":-2,"methodName":"invoke0","nativeMethod":true},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":57,"methodName":"invoke","nativeMethod":false},{"className":"sun.reflect.DelegatingMethodAccessorImpl","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43,"methodName":"invoke","nativeMethod":false},{"className":"java.lang.reflect.Method","fileName":"Method.java","lineNumber":606,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function$InstanceFunction","fileName":"Function.java","lineNumber":288,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":151,"methodName":"bindAndInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":90,"methodName":"bindAndInvokeAndServeResponse","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher","fileName":"MetaClass.java","lineNumber":439,"methodName":"doDispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.NameBasedDispatcher","fileName":"NameBasedDispatcher.java","lineNumber":53,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$12","fileName":"MetaClass.java","lineNumber":384,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":736,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":583,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":177,"methodName":"service","nativeMethod":false},{"className":"javax.servlet.http.HttpServlet","fileName":"HttpServlet.java","lineNumber":45,"methodName":"service","nativeMethod":false},{"className":"winstone.ServletConfiguration","fileName":"ServletConfiguration.java","lineNumber":248,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":333,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":376,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter$1","fileName":"PluginServletFilter.java","lineNumber":95,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter","fileName":"PluginServletFilter.java","lineNumber":87,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.csrf.CrumbFilter","fileName":"CrumbFilter.java","lineNumber":48,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter$1","fileName":"ChainedServletFilter.java","lineNumber":84,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter","fileName":"ChainedServletFilter.java","lineNumber":76,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.HudsonFilter","fileName":"HudsonFilter.java","lineNumber":164,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"org.kohsuke.stapler.compression.CompressionFilter","fileName":"CompressionFilter.java","lineNumber":50,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.CharacterEncodingFilter","fileName":"CharacterEncodingFilter.java","lineNumber":81,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":331,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":227,"methodName":"processRequest","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":150,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.Executors$RunnableAdapter","fileName":"Executors.java","lineNumber":471,"methodName":"call","nativeMethod":false},{"className":"java.util.concurrent.FutureTask","fileName":"FutureTask.java","lineNumber":262,"methodName":"run","nativeMethod":false},{"className":"winstone.BoundedExecutorService$1","fileName":"BoundedExecutorService.java","lineNumber":77,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1145,"methodName":"runWorker","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":615,"methodName":"run","nativeMethod":false},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":744,"methodName":"run","nativeMethod":false}],"suppressed":[]}

Jenkins JIRA | Chad Rhyner | 3 years ago
  1. 0

    I have a deployment pipeline setup that is used to push a deployment through. I use the build-pipeline plugin. There are four build steps in the deployment pipeline. Step #1 starts automatically, Step #2 starts automatically when Step #1 successfully completes. Step #3 is manually triggered when the build is verified to be working correctly. Step #1 and Step #2 finished correctly, but when I click on the "Manually start build" trigger, it does not start the build. When I look into the logs, I am seeing the following stack trace every time that I push the button to manually trigger a build for Step #3: Mar 10, 2014 8:53:36 PM winstone.Logger logInternal WARNING: Untrapped Error in Servlet java.lang.IllegalArgumentException: Failed to instantiate int from {"cause":null,"localizedMessage":"","message":"","stackTrace":[{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":510,"methodName":"triggerBuild","nativeMethod":false},{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":411,"methodName":"triggerManualBuild","nativeMethod":false},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":-2,"methodName":"invoke0","nativeMethod":true},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":57,"methodName":"invoke","nativeMethod":false},{"className":"sun.reflect.DelegatingMethodAccessorImpl","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43,"methodName":"invoke","nativeMethod":false},{"className":"java.lang.reflect.Method","fileName":"Method.java","lineNumber":606,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function$InstanceFunction","fileName":"Function.java","lineNumber":288,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":151,"methodName":"bindAndInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":90,"methodName":"bindAndInvokeAndServeResponse","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher","fileName":"MetaClass.java","lineNumber":439,"methodName":"doDispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.NameBasedDispatcher","fileName":"NameBasedDispatcher.java","lineNumber":53,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$12","fileName":"MetaClass.java","lineNumber":384,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":736,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":583,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":177,"methodName":"service","nativeMethod":false},{"className":"javax.servlet.http.HttpServlet","fileName":"HttpServlet.java","lineNumber":45,"methodName":"service","nativeMethod":false},{"className":"winstone.ServletConfiguration","fileName":"ServletConfiguration.java","lineNumber":248,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":333,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":376,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter$1","fileName":"PluginServletFilter.java","lineNumber":95,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter","fileName":"PluginServletFilter.java","lineNumber":87,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.csrf.CrumbFilter","fileName":"CrumbFilter.java","lineNumber":48,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter$1","fileName":"ChainedServletFilter.java","lineNumber":84,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter","fileName":"ChainedServletFilter.java","lineNumber":76,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.HudsonFilter","fileName":"HudsonFilter.java","lineNumber":164,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"org.kohsuke.stapler.compression.CompressionFilter","fileName":"CompressionFilter.java","lineNumber":50,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.CharacterEncodingFilter","fileName":"CharacterEncodingFilter.java","lineNumber":81,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":331,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":227,"methodName":"processRequest","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":150,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.Executors$RunnableAdapter","fileName":"Executors.java","lineNumber":471,"methodName":"call","nativeMethod":false},{"className":"java.util.concurrent.FutureTask","fileName":"FutureTask.java","lineNumber":262,"methodName":"run","nativeMethod":false},{"className":"winstone.BoundedExecutorService$1","fileName":"BoundedExecutorService.java","lineNumber":77,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1145,"methodName":"runWorker","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":615,"methodName":"run","nativeMethod":false},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":744,"methodName":"run","nativeMethod":false}],"suppressed":[]} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:596) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:391) at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:437) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:736) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:177) 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:48) 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.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:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of int at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:176) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:575) ... 43 more Some more background on this issue: Our Jenkins instance is refreshed periodically. The Jenkins machine copies over all of the configuration, backs up the configuration in source control, spins up a new machine, and builds it from scratch. For the most part, slight deviations are detected, but hey, things happen, and I am by no means perfect. We never terminated the old Jenkins instance until we can successfully build with the new instance. This allows us to determine if failures happen, we can quick do a quick rollback, and the deployments never skip a beat. Here is what we observed: Our new instance was unable to manually trigger Step #3 in the build pipeline. Comparing the old instance with the new instance, the old Jenkins was running build-pipeline plugin version 1.3.3. The new Jenkins instance was running build-pipeline plugin version 1.4.2. How to fix: It was observed that downgrading the plugin to version 1.3.3 fixed the problem. Jenkins needed to get restarted for the changes to take effect, but it unblocked us.

    Jenkins JIRA | 3 years ago | Chad Rhyner
    java.lang.IllegalArgumentException: Failed to instantiate int from {"cause":null,"localizedMessage":"","message":"","stackTrace":[{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":510,"methodName":"triggerBuild","nativeMethod":false},{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":411,"methodName":"triggerManualBuild","nativeMethod":false},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":-2,"methodName":"invoke0","nativeMethod":true},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":57,"methodName":"invoke","nativeMethod":false},{"className":"sun.reflect.DelegatingMethodAccessorImpl","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43,"methodName":"invoke","nativeMethod":false},{"className":"java.lang.reflect.Method","fileName":"Method.java","lineNumber":606,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function$InstanceFunction","fileName":"Function.java","lineNumber":288,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":151,"methodName":"bindAndInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":90,"methodName":"bindAndInvokeAndServeResponse","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher","fileName":"MetaClass.java","lineNumber":439,"methodName":"doDispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.NameBasedDispatcher","fileName":"NameBasedDispatcher.java","lineNumber":53,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$12","fileName":"MetaClass.java","lineNumber":384,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":736,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":583,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":177,"methodName":"service","nativeMethod":false},{"className":"javax.servlet.http.HttpServlet","fileName":"HttpServlet.java","lineNumber":45,"methodName":"service","nativeMethod":false},{"className":"winstone.ServletConfiguration","fileName":"ServletConfiguration.java","lineNumber":248,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":333,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":376,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter$1","fileName":"PluginServletFilter.java","lineNumber":95,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter","fileName":"PluginServletFilter.java","lineNumber":87,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.csrf.CrumbFilter","fileName":"CrumbFilter.java","lineNumber":48,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter$1","fileName":"ChainedServletFilter.java","lineNumber":84,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter","fileName":"ChainedServletFilter.java","lineNumber":76,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.HudsonFilter","fileName":"HudsonFilter.java","lineNumber":164,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"org.kohsuke.stapler.compression.CompressionFilter","fileName":"CompressionFilter.java","lineNumber":50,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.CharacterEncodingFilter","fileName":"CharacterEncodingFilter.java","lineNumber":81,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":331,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":227,"methodName":"processRequest","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":150,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.Executors$RunnableAdapter","fileName":"Executors.java","lineNumber":471,"methodName":"call","nativeMethod":false},{"className":"java.util.concurrent.FutureTask","fileName":"FutureTask.java","lineNumber":262,"methodName":"run","nativeMethod":false},{"className":"winstone.BoundedExecutorService$1","fileName":"BoundedExecutorService.java","lineNumber":77,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1145,"methodName":"runWorker","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":615,"methodName":"run","nativeMethod":false},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":744,"methodName":"run","nativeMethod":false}],"suppressed":[]}
  2. 0

    I have a deployment pipeline setup that is used to push a deployment through. I use the build-pipeline plugin. There are four build steps in the deployment pipeline. Step #1 starts automatically, Step #2 starts automatically when Step #1 successfully completes. Step #3 is manually triggered when the build is verified to be working correctly. Step #1 and Step #2 finished correctly, but when I click on the "Manually start build" trigger, it does not start the build. When I look into the logs, I am seeing the following stack trace every time that I push the button to manually trigger a build for Step #3: Mar 10, 2014 8:53:36 PM winstone.Logger logInternal WARNING: Untrapped Error in Servlet java.lang.IllegalArgumentException: Failed to instantiate int from {"cause":null,"localizedMessage":"","message":"","stackTrace":[{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":510,"methodName":"triggerBuild","nativeMethod":false},{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":411,"methodName":"triggerManualBuild","nativeMethod":false},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":-2,"methodName":"invoke0","nativeMethod":true},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":57,"methodName":"invoke","nativeMethod":false},{"className":"sun.reflect.DelegatingMethodAccessorImpl","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43,"methodName":"invoke","nativeMethod":false},{"className":"java.lang.reflect.Method","fileName":"Method.java","lineNumber":606,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function$InstanceFunction","fileName":"Function.java","lineNumber":288,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":151,"methodName":"bindAndInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":90,"methodName":"bindAndInvokeAndServeResponse","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher","fileName":"MetaClass.java","lineNumber":439,"methodName":"doDispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.NameBasedDispatcher","fileName":"NameBasedDispatcher.java","lineNumber":53,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$12","fileName":"MetaClass.java","lineNumber":384,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":736,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":583,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":177,"methodName":"service","nativeMethod":false},{"className":"javax.servlet.http.HttpServlet","fileName":"HttpServlet.java","lineNumber":45,"methodName":"service","nativeMethod":false},{"className":"winstone.ServletConfiguration","fileName":"ServletConfiguration.java","lineNumber":248,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":333,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":376,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter$1","fileName":"PluginServletFilter.java","lineNumber":95,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter","fileName":"PluginServletFilter.java","lineNumber":87,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.csrf.CrumbFilter","fileName":"CrumbFilter.java","lineNumber":48,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter$1","fileName":"ChainedServletFilter.java","lineNumber":84,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter","fileName":"ChainedServletFilter.java","lineNumber":76,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.HudsonFilter","fileName":"HudsonFilter.java","lineNumber":164,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"org.kohsuke.stapler.compression.CompressionFilter","fileName":"CompressionFilter.java","lineNumber":50,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.CharacterEncodingFilter","fileName":"CharacterEncodingFilter.java","lineNumber":81,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":331,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":227,"methodName":"processRequest","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":150,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.Executors$RunnableAdapter","fileName":"Executors.java","lineNumber":471,"methodName":"call","nativeMethod":false},{"className":"java.util.concurrent.FutureTask","fileName":"FutureTask.java","lineNumber":262,"methodName":"run","nativeMethod":false},{"className":"winstone.BoundedExecutorService$1","fileName":"BoundedExecutorService.java","lineNumber":77,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1145,"methodName":"runWorker","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":615,"methodName":"run","nativeMethod":false},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":744,"methodName":"run","nativeMethod":false}],"suppressed":[]} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:596) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:391) at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:437) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:736) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:177) 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:48) 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.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:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of int at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:176) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:575) ... 43 more Some more background on this issue: Our Jenkins instance is refreshed periodically. The Jenkins machine copies over all of the configuration, backs up the configuration in source control, spins up a new machine, and builds it from scratch. For the most part, slight deviations are detected, but hey, things happen, and I am by no means perfect. We never terminated the old Jenkins instance until we can successfully build with the new instance. This allows us to determine if failures happen, we can quick do a quick rollback, and the deployments never skip a beat. Here is what we observed: Our new instance was unable to manually trigger Step #3 in the build pipeline. Comparing the old instance with the new instance, the old Jenkins was running build-pipeline plugin version 1.3.3. The new Jenkins instance was running build-pipeline plugin version 1.4.2. How to fix: It was observed that downgrading the plugin to version 1.3.3 fixed the problem. Jenkins needed to get restarted for the changes to take effect, but it unblocked us.

    Jenkins JIRA | 3 years ago | Chad Rhyner
    java.lang.IllegalArgumentException: Failed to instantiate int from {"cause":null,"localizedMessage":"","message":"","stackTrace":[{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":510,"methodName":"triggerBuild","nativeMethod":false},{"className":"au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView","fileName":"BuildPipelineView.java","lineNumber":411,"methodName":"triggerManualBuild","nativeMethod":false},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":-2,"methodName":"invoke0","nativeMethod":true},{"className":"sun.reflect.NativeMethodAccessorImpl","fileName":"NativeMethodAccessorImpl.java","lineNumber":57,"methodName":"invoke","nativeMethod":false},{"className":"sun.reflect.DelegatingMethodAccessorImpl","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43,"methodName":"invoke","nativeMethod":false},{"className":"java.lang.reflect.Method","fileName":"Method.java","lineNumber":606,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function$InstanceFunction","fileName":"Function.java","lineNumber":288,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":151,"methodName":"bindAndInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Function","fileName":"Function.java","lineNumber":90,"methodName":"bindAndInvokeAndServeResponse","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher","fileName":"MetaClass.java","lineNumber":439,"methodName":"doDispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.NameBasedDispatcher","fileName":"NameBasedDispatcher.java","lineNumber":53,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.MetaClass$12","fileName":"MetaClass.java","lineNumber":384,"methodName":"dispatch","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":677,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":736,"methodName":"tryInvoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":770,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":583,"methodName":"invoke","nativeMethod":false},{"className":"org.kohsuke.stapler.Stapler","fileName":"Stapler.java","lineNumber":177,"methodName":"service","nativeMethod":false},{"className":"javax.servlet.http.HttpServlet","fileName":"HttpServlet.java","lineNumber":45,"methodName":"service","nativeMethod":false},{"className":"winstone.ServletConfiguration","fileName":"ServletConfiguration.java","lineNumber":248,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":333,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":376,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter$1","fileName":"PluginServletFilter.java","lineNumber":95,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.PluginServletFilter","fileName":"PluginServletFilter.java","lineNumber":87,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.csrf.CrumbFilter","fileName":"CrumbFilter.java","lineNumber":48,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter$1","fileName":"ChainedServletFilter.java","lineNumber":84,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.ChainedServletFilter","fileName":"ChainedServletFilter.java","lineNumber":76,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.security.HudsonFilter","fileName":"HudsonFilter.java","lineNumber":164,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"org.kohsuke.stapler.compression.CompressionFilter","fileName":"CompressionFilter.java","lineNumber":50,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"hudson.util.CharacterEncodingFilter","fileName":"CharacterEncodingFilter.java","lineNumber":81,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.FilterConfiguration","fileName":"FilterConfiguration.java","lineNumber":194,"methodName":"execute","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":366,"methodName":"doFilter","nativeMethod":false},{"className":"winstone.RequestDispatcher","fileName":"RequestDispatcher.java","lineNumber":331,"methodName":"forward","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":227,"methodName":"processRequest","nativeMethod":false},{"className":"winstone.RequestHandlerThread","fileName":"RequestHandlerThread.java","lineNumber":150,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.Executors$RunnableAdapter","fileName":"Executors.java","lineNumber":471,"methodName":"call","nativeMethod":false},{"className":"java.util.concurrent.FutureTask","fileName":"FutureTask.java","lineNumber":262,"methodName":"run","nativeMethod":false},{"className":"winstone.BoundedExecutorService$1","fileName":"BoundedExecutorService.java","lineNumber":77,"methodName":"run","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor","fileName":"ThreadPoolExecutor.java","lineNumber":1145,"methodName":"runWorker","nativeMethod":false},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","fileName":"ThreadPoolExecutor.java","lineNumber":615,"methodName":"run","nativeMethod":false},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":744,"methodName":"run","nativeMethod":false}],"suppressed":[]}
  3. 0

    Since the last security update from Eucalyptus Jenkins isn't able to start any instances. Information about this update can be found here: https://launchpadlibrarian.net/72465971/eucalyptus_2.0%2Bbzr1241-0ubuntu4.2_amd64.changes If I try to start an instance I got the following error message: java.lang.IllegalArgumentException: Failed to invoke public hudson.util.FormValidation hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(java.lang.String,java.lang.String,hudson.plugins.ec2.AwsRegion,java.lang.String) throws java.io.IOException,javax.servlet.ServletException at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:146) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:373) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:195) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.ec2.AwsRegion at org.kohsuke.stapler.AnnotationHandler.convert(AnnotationHandler.java:48) at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:94) at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:82) at org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:57) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:141) ... 39 more Before this update everything is running fine. Regards, Joachim

    Jenkins JIRA | 5 years ago | Joachim Karnbach-Mink
    java.lang.IllegalArgumentException: Failed to invoke public hudson.util.FormValidation hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(java.lang.String,java.lang.String,hudson.plugins.ec2.AwsRegion,java.lang.String) throws java.io.IOException,javax.servlet.ServletException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Since the last security update from Eucalyptus Jenkins isn't able to start any instances. Information about this update can be found here: https://launchpadlibrarian.net/72465971/eucalyptus_2.0%2Bbzr1241-0ubuntu4.2_amd64.changes If I try to start an instance I got the following error message: java.lang.IllegalArgumentException: Failed to invoke public hudson.util.FormValidation hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(java.lang.String,java.lang.String,hudson.plugins.ec2.AwsRegion,java.lang.String) throws java.io.IOException,javax.servlet.ServletException at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:146) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:373) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:195) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.ec2.AwsRegion at org.kohsuke.stapler.AnnotationHandler.convert(AnnotationHandler.java:48) at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:94) at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:82) at org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:57) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:141) ... 39 more Before this update everything is running fine. Regards, Joachim

    Jenkins JIRA | 5 years ago | Joachim Karnbach-Mink
    java.lang.IllegalArgumentException: Failed to invoke public hudson.util.FormValidation hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(java.lang.String,java.lang.String,hudson.plugins.ec2.AwsRegion,java.lang.String) throws java.io.IOException,javax.servlet.ServletException
  6. 0

    Since the last security update from Eucalyptus Jenkins isn't able to start any instances. Information about this update can be found here: https://launchpadlibrarian.net/72465971/eucalyptus_2.0%2Bbzr1241-0ubuntu4.2_amd64.changes If I try to start an instance I got the following error message: java.lang.IllegalArgumentException: Failed to invoke public hudson.util.FormValidation hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(java.lang.String,java.lang.String,hudson.plugins.ec2.AwsRegion,java.lang.String) throws java.io.IOException,javax.servlet.ServletException at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:146) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:373) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:195) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.ec2.AwsRegion at org.kohsuke.stapler.AnnotationHandler.convert(AnnotationHandler.java:48) at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:94) at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:82) at org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:57) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:141) ... 39 more Before this update everything is running fine. Regards, Joachim

    Jenkins JIRA | 5 years ago | Joachim Karnbach-Mink
    java.lang.IllegalArgumentException: Failed to invoke public hudson.util.FormValidation hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(java.lang.String,java.lang.String,hudson.plugins.ec2.AwsRegion,java.lang.String) throws java.io.IOException,javax.servlet.ServletException

    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. org.kohsuke.stapler.NoStaplerConstructorException

      There's no @DataBoundConstructor on any constructor of int

      at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames()
    2. Stapler
      Stapler.service
      1. org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:176)
      2. org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:575)
      3. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:391)
      4. org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:437)
      5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
      7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
      8. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
      9. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
      10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
      11. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:736)
      12. org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
      13. org.kohsuke.stapler.Stapler.invoke(Stapler.java:583)
      14. org.kohsuke.stapler.Stapler.service(Stapler.java:177)
      14 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      1 frame
    4. 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
    5. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      2 frames
    6. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    7. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      1 frame
    8. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    9. Hudson
      HudsonFilter.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      3 frames
    10. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    11. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      1 frame
    12. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    13. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    14. 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:227)
      5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      5 frames
    15. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2 frames
    16. winstone
      BoundedExecutorService$1.run
      1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      1 frame
    17. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames