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

java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.parameterizedtrigger.BlockingBehaviour

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: core, tfs-plugin
    • Environment:
    • Similar Issues:

      Description

      **Saving existing job which contains build step "trigger/call builds on other projects"  throws error: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.parameterizedtrigger.BlockingBehaviour (full stacktrace at the end)

      If the build step "trigger/call builds on other projects"   is removed the build job saves without error. 

      If I remove "trigger/call builds on other projects" then successfully save and then add "trigger/call builds on other projects" step it saves successfully.

       

      Stack trace from jenkins log:

      2021-02-03 09:12:36.525+0000 [id=43] WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving http://*******:8080/job/******/configSubmit
      java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.parameterizedtrigger.BlockingBehaviour
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:742)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788)
      Caused: java.lang.IllegalArgumentException: Failed to convert the block parameter of the constructor public hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig(java.lang.String,hudson.plugins.pa
      rameterizedtrigger.BlockingBehaviour,java.util.List,java.util.List)
       at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:790)
       at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679)
      Caused: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig from {"projects":"archive-build","block":true,"buildStepFailureThresho
      ld":"FAILURE","failureThreshold":"FAILURE","unstableThreshold":"UNSTABLE","configs":[{"properties":"branch=${BRANCH_NAME}\nsource_workspace=${WORKSPACE}\nfiles=UI/app-ui/target/uwt-ui.war _temp/resources.ta
      r.gz WKS/deploy\nsource_job=${JOB_NAME}\nsource_number=${BUILD_NUMBER}","textParamValueOnNewLine":false,"stapler-class":"hudson.plugins.parameterizedtrigger.PredefinedBuildParameters","$class":"hudson.plugi
      ns.parameterizedtrigger.PredefinedBuildParameters"},{"stapler-class":"hudson.plugins.parameterizedtrigger.NodeParameters","$class":"hudson.plugins.parameterizedtrigger.NodeParameters"}]}
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:682)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475)
       at hudson.model.Descriptor.newInstance(Descriptor.java:598)
      Caused: java.lang.Error: Failed to instantiate class hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig from {"projects":"archive-build","block":true,"buildStepFailureThreshold":"FAILURE","fail
      ureThreshold":"FAILURE","unstableThreshold":"UNSTABLE","configs":[{"properties":"branch=${BRANCH_NAME}\nsource_workspace=${WORKSPACE}\nfiles=UI/app-ui/target/uwt-ui.war _temp/resources.tar.gz WKS/deploy\nso
      urce_job=${JOB_NAME}\nsource_number=${BUILD_NUMBER}","textParamValueOnNewLine":false,"stapler-class":"hudson.plugins.parameterizedtrigger.PredefinedBuildParameters","$class":"hudson.plugins.parameterizedtri
      gger.PredefinedBuildParameters"},{"stapler-class":"hudson.plugins.parameterizedtrigger.NodeParameters","$class":"hudson.plugins.parameterizedtrigger.NodeParameters"}]}
       at hudson.model.Descriptor.newInstance(Descriptor.java:606)
       at hudson.model.Descriptor$NewInstanceBindInterceptor.onConvert(Descriptor.java:675)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:622)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:718)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788)
       at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475)
       at hudson.model.Descriptor.newInstance(Descriptor.java:598)
       at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1075)
       at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1037)
       at hudson.util.DescribableList.rebuildHetero(DescribableList.java:208)
       at hudson.maven.MavenModuleSet.submit(MavenModuleSet.java:1255)
       at hudson.model.Job.doConfigSubmit(Job.java:1335)
       at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:768)
       at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
       at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
      Caused: java.lang.reflect.InvocationTargetException
       at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:400)
       at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
       at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
       at org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:36)
       at org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerbInterceptor.java:48)
       at org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvoke(SelectionInterceptedFunction.java:26)
       at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
       at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536)
       at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
       at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
       at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
       at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:281)
       at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
       at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
       at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
       at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
       at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
       at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
       at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
       at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239)
       at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215)
       at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88)
       at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:114)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:64)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:153)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:92)
       at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
       at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:105)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:101)
       at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:92)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:218)
       at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
       at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
       at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:62)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:109)
       at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
       at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
       at org.eclipse.jetty.server.Server.handle(Server.java:516)
       at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
       at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
       at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
       at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
       at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
       at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
       at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
       at java.lang.Thread.run(Thread.java:748)
      2021-02-03 09:12:36.530+0000 [id=43] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID a2a412f8-cde9-44e9-b9e0-2913119c87c2
      java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.parameterizedtrigger.BlockingBehaviour
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:742)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788)
      Caused: java.lang.IllegalArgumentException: Failed to convert the block parameter of the constructor public hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig(java.lang.String,hudson.plugins.parameterizedtrigger.BlockingBehaviour,java.util.List,java.util.List)
       at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:790)
       at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679)
      Caused: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig from {"projects":"archive-build","block":true,"buildStepFailureThreshold":"FAILURE","failureThreshold":"FAILURE","unstableThreshold":"UNSTABLE","configs":[{"properties":"branch=${BRANCH_NAME}\nsource_workspace=${WORKSPACE}\nfiles=UI/app-ui/target/uwt-ui.war _temp/resources.tar.gz WKS/deploy\nsource_job=${JOB_NAME}\nsource_number=${BUILD_NUMBER}","textParamValueOnNewLine":false,"stapler-class":"hudson.plugins.parameterizedtrigger.PredefinedBuildParameters","$class":"hudson.plugins.parameterizedtrigger.PredefinedBuildParameters"},{"stapler-class":"hudson.plugins.parameterizedtrigger.NodeParameters","$class":"hudson.plugins.parameterizedtrigger.NodeParameters"}]}
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:682)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475)
       at hudson.model.Descriptor.newInstance(Descriptor.java:598)
      Caused: java.lang.Error: Failed to instantiate class hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig from {"projects":"archive-build","block":true,"buildStepFailureThreshold":"FAILURE","failureThreshold":"FAILURE","unstableThreshold":"UNSTABLE","configs":[{"properties":"branch=${BRANCH_NAME}\nsource_workspace=${WORKSPACE}\nfiles=UI/app-ui/target/uwt-ui.war _temp/resources.tar.gz WKS/deploy\nsource_job=${JOB_NAME}\nsource_number=${BUILD_NUMBER}","textParamValueOnNewLine":false,"stapler-class":"hudson.plugins.parameterizedtrigger.PredefinedBuildParameters","$class":"hudson.plugins.parameterizedtrigger.PredefinedBuildParameters"},{"stapler-class":"hudson.plugins.parameterizedtrigger.NodeParameters","$class":"hudson.plugins.parameterizedtrigger.NodeParameters"}]}
       at hudson.model.Descriptor.newInstance(Descriptor.java:606)
       at hudson.model.Descriptor$NewInstanceBindInterceptor.onConvert(Descriptor.java:675)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:622)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:718)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788)
       at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84)
       at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479)
       at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475)
       at hudson.model.Descriptor.newInstance(Descriptor.java:598)
       at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1075)
       at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1037)
       at hudson.util.DescribableList.rebuildHetero(DescribableList.java:208)
       at hudson.maven.MavenModuleSet.submit(MavenModuleSet.java:1255)
       at hudson.model.Job.doConfigSubmit(Job.java:1335)
       at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:768)
       at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
       at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
       at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
       at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
       at org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:36)
       at org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerbInterceptor.java:48)
       at org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvoke(SelectionInterceptedFunction.java:26)
       at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
       at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536)
       at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
       at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
      Caused: javax.servlet.ServletException
       at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:816)
       at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
       at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:281)
       at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
       at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
       at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
       at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
       at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
       at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
       at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
       at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239)
       at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215)
       at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88)
       at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:114)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:64)
       at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
       at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:153)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:92)
       at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
       at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:105)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:101)
       at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:92)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:218)
       at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
       at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
       at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:62)
       at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
       at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:109)
       at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
       at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
       at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
       at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
       at org.eclipse.jetty.server.Server.handle(Server.java:516)
       at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
       at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
       at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
       at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
       at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
       at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
       at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
       at java.lang.Thread.run(Thread.java:748)

       

        Attachments

          Issue Links

            Activity

            Hide
            markewaite Mark Waite added a comment -

            I'm unable to duplicate the problem either. My JAVA_ARGS are slightly different than yours:

            -XX:+AlwaysPreTouch
            -XX:+HeapDumpOnOutOfMemoryError 
            -XX:HeapDumpPath=/var/jenkins_home/logs 
            -XX:+UseG1GC 
            -verbose:gc 
            -XX:+UseStringDeduplication 
            -XX:+ParallelRefProcEnabled 
            -XX:+DisableExplicitGC 
            -XX:+UnlockDiagnosticVMOptions 
            -XX:+UnlockExperimentalVMOptions 
            -Xms3g 
            -Xmx7g 
            -Dhudson.TcpSlaveAgentListener.hostName=mark-pc2 
            -Djava.awt.headless=true 
            -Djenkins.model.Jenkins.buildsDir='/var/jenkins_home/builds/${ITEM_FULL_NAME}' 
            -Djenkins.model.Jenkins.workspacesDir='/var/jenkins_home/workspace/${ITEM_FULL_NAME}' 
            -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true 
            -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=11 
            -Dorg.jenkinsci.plugins.gitclient.GitClient.quietRemoteBranches=true 
            -Dhudson.model.ParametersAction.safeParameters=DESCRIPTION_SETTER_DESCRIPTION 
            -Dhudson.model.ParametersAction.keepUndefinedParameters=false 
            -Dhudson.TcpSlaveAgentListener.port=50000
            

            In particular, do you see different behavior if you change to

            -Dhudson.model.ParametersAction.keepUndefinedParameters=false 
            
            Show
            markewaite Mark Waite added a comment - I'm unable to duplicate the problem either. My JAVA_ARGS are slightly different than yours: -XX:+AlwaysPreTouch -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/jenkins_home/logs -XX:+UseG1GC -verbose:gc -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xms3g -Xmx7g -Dhudson.TcpSlaveAgentListener.hostName=mark-pc2 -Djava.awt.headless=true -Djenkins.model.Jenkins.buildsDir='/var/jenkins_home/builds/${ITEM_FULL_NAME}' -Djenkins.model.Jenkins.workspacesDir='/var/jenkins_home/workspace/${ITEM_FULL_NAME}' -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=11 -Dorg.jenkinsci.plugins.gitclient.GitClient.quietRemoteBranches=true -Dhudson.model.ParametersAction.safeParameters=DESCRIPTION_SETTER_DESCRIPTION -Dhudson.model.ParametersAction.keepUndefinedParameters=false -Dhudson.TcpSlaveAgentListener.port=50000 In particular, do you see different behavior if you change to -Dhudson.model.ParametersAction.keepUndefinedParameters=false
            Hide
            koval_jan Jan Koval added a comment -

            It did not help with the keepUndefinedParameters = false D switch

            The job is a maven project type

            Here is the confix.xml if that helps

            config.xml

             

             

            Show
            koval_jan Jan Koval added a comment - It did not help with the keepUndefinedParameters = false D switch The job is a maven project type Here is the confix.xml if that helps config.xml    
            Hide
            koval_jan Jan Koval added a comment -

            I've tried simplified freestyle job but it has same symptoms.

            Probably connected to loading of job configuration form.

            I've noticed error in javascript console during loading job/.../configure

            TypeError: $(...).next is not a function
                applyNameRefHelper http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1544
                applyNameRefHelper http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1549
                applyNameRef http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1538
                <anonymous> http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1201
                applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:116
                applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:111
                applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:93
                apply http://************:8080/static/b2b3841d/scripts/behavior.js:76
                start http://************:8080/static/b2b3841d/scripts/behavior.js:71
                onload http://************:8080/static/b2b3841d/scripts/behavior.js:133
                onload http://************:8080/static/b2b3841d/scripts/behavior.js:133
                addLoadEvent http://************:8080/static/b2b3841d/scripts/behavior.js:132
                createSearchBox http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:2472
                <anonymous> http://************:8080/job/test-free/configure:7
            behavior.js:119:31
                applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:119
                applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:111
                applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:93
                apply http://************:8080/static/b2b3841d/scripts/behavior.js:76
                start http://************:8080/static/b2b3841d/scripts/behavior.js:71
                onload http://************:8080/static/b2b3841d/scripts/behavior.js:133
                onload http://************:8080/static/b2b3841d/scripts/behavior.js:133
                (Async: EventHandlerNonNull)
                addLoadEvent http://************:8080/static/b2b3841d/scripts/behavior.js:132
                createSearchBox http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:2472
                <anonymous> http://************:8080/job/test-free/configure:7
            

             

             

            Show
            koval_jan Jan Koval added a comment - I've tried simplified freestyle job but it has same symptoms. Probably connected to loading of job configuration form. I've noticed error in javascript console during loading job/.../configure TypeError: $(...).next is not a function applyNameRefHelper http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1544 applyNameRefHelper http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1549 applyNameRef http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1538 <anonymous> http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:1201 applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:116 applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:111 applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:93 apply http://************:8080/static/b2b3841d/scripts/behavior.js:76 start http://************:8080/static/b2b3841d/scripts/behavior.js:71 onload http://************:8080/static/b2b3841d/scripts/behavior.js:133 onload http://************:8080/static/b2b3841d/scripts/behavior.js:133 addLoadEvent http://************:8080/static/b2b3841d/scripts/behavior.js:132 createSearchBox http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:2472 <anonymous> http://************:8080/job/test-free/configure:7 behavior.js:119:31 applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:119 applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:111 applySubtree http://************:8080/static/b2b3841d/scripts/behavior.js:93 apply http://************:8080/static/b2b3841d/scripts/behavior.js:76 start http://************:8080/static/b2b3841d/scripts/behavior.js:71 onload http://************:8080/static/b2b3841d/scripts/behavior.js:133 onload http://************:8080/static/b2b3841d/scripts/behavior.js:133 (Async: EventHandlerNonNull) addLoadEvent http://************:8080/static/b2b3841d/scripts/behavior.js:132 createSearchBox http://************:8080/static/b2b3841d/scripts/hudson-behavior.js:2472 <anonymous> http://************:8080/job/test-free/configure:7    
            Hide
            koval_jan Jan Koval added a comment -

            Attaching list of installed plugins plugins.txt

             

            Show
            koval_jan Jan Koval added a comment - Attaching list of installed plugins  plugins.txt  
            Hide
            koval_jan Jan Koval added a comment -

            The problem was resolved by disabling the Team Foundation Server plugin  (tfs:5.157.1)

            Show
            koval_jan Jan Koval added a comment - The problem was resolved by disabling the Team Foundation Server plugin  (tfs:5.157.1)

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              koval_jan Jan Koval
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: