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

Jenkins exception with parameterizedtrigger plugin

      Hi,
      I tried using flexible publish plugin in my jenkins setup, but, since the time of adding that plugin and restarting jenkins, I have been encountering various exceptions related to the parameterizedtrigger plugin.

      When I tried to restart the server, the jenkins webpage fails to come up and throws the below exception:

      org.jvnet.hudson.reactor.ReactorException: java.lang.NoSuchMethodError: hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getProjectList()Ljava/util/List;

      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246)

      at jenkins.InitReactorRunner.run(InitReactorRunner.java:43)

      at jenkins.model.Jenkins.executeReactor(Jenkins.java:850)

      at jenkins.model.Jenkins.<init>(Jenkins.java:762)

      at hudson.model.Hudson.<init>(Hudson.java:81)

      at hudson.model.Hudson.<init>(Hudson.java:77)

      at hudson.WebAppMain$2.run(WebAppMain.java:217)

      Caused by: java.lang.NoSuchMethodError: hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getProjectList()Ljava/util/List;

      at join.JoinTrigger.buildDependencyGraph(JoinTrigger.java:156)

      at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194)

      at hudson.model.Project.buildDependencyGraph(Project.java:169)

      at hudson.model.DependencyGraph.build(DependencyGraph.java:91)

      at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3415)

      at jenkins.model.Jenkins$16.run(Jenkins.java:2448)

      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)

      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)

      at jenkins.model.Jenkins$6.runTask(Jenkins.java:839)

      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)

      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:636)

      I then removed the flexible publish plugin and tried restarting the server again, but, it again failed with the same exception.

      Then, I removed the build steps related to the usage of parameterizedtrigger plugin from all the jobs and then tried restarting the server again. This time, the jenkins web page did come up.

      Then, I added back the build steps that I had removed in the previous step to all the jobs and restarted the jenkins server and again start facing the same exception.

      in addition to the above, whenever, I try to create a new job by copying from another job or delete a job, I get the below exception on the jenkins webpage.

      This is really urgent as we have our product release lined up in the next couple of days.
      Kindly let me know how to resolve this weird behaviour.

      I am using the latest version of the parameterizedtrigger plugin

      Status Code: 500

      Exception:
      Stacktrace:

      java.lang.NoSuchMethodError: hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getProjectList()Ljava/util/List;

      at join.JoinTrigger.buildDependencyGraph(JoinTrigger.java:156)

      at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194)

      at hudson.model.Project.buildDependencyGraph(Project.java:169)

      at hudson.model.DependencyGraph.build(DependencyGraph.java:91)

      at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3415)

      at hudson.model.ItemGroupMixIn.copy(ItemGroupMixIn.java:211)

      at hudson.model.ItemGroupMixIn.createTopLevelItem(ItemGroupMixIn.java:164)

      at jenkins.model.Jenkins.doCreateItem(Jenkins.java:2752)

      at jenkins.model.Jenkins.doCreateItem(Jenkins.java:299)

      at hudson.model.ListView.doCreateItem(ListView.java:199)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:616)

      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)

      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)

      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)

      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)

      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)

      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)

      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)

      at org.kohsuke.stapler.Stapler.service(Stapler.java:162)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)

      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)

      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)

      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)

      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)

      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52)

      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)

      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)

      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)

      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)

      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)

      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)

      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)

      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)

      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)

      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)

      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)

      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)

      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)

      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)

      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)

      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)

      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)

      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)

      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

      at java.util.concurrent.FutureTask.run(FutureTask.java:166)

      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

      at java.lang.Thread.run(Thread.java:636)

      Thanks & Regards,

      Alok Kumar

          [JENKINS-16129] Jenkins exception with parameterizedtrigger plugin

          Alok Kumar added a comment -

          Can someone please have a look into this. Its very urgent

          Alok Kumar added a comment - Can someone please have a look into this. Its very urgent

          sogabe added a comment -

          Are you using Join Plugin? if so, are you using the latest one?

          sogabe added a comment - Are you using Join Plugin? if so, are you using the latest one?

          Alok Kumar added a comment -

          Yes, I am and I am using the latest one.

          Alok Kumar added a comment - Yes, I am and I am using the latest one.

          cjo9900 added a comment -

          What version of the parameterized trigger plugin?

          You need to be using 2.13 or greater as this method was added then.

          cjo9900 added a comment - What version of the parameterized trigger plugin? You need to be using 2.13 or greater as this method was added then.

          please close this issue here if it is solved.

          hiteswar kumar added a comment - please close this issue here if it is solved.

          ikedam added a comment -

          I close this for no more information to reproduce for a long time.
          Please reopen if the problem still happens.

          It is recommended to attach a full log of Jenkins starting.

          ikedam added a comment - I close this for no more information to reproduce for a long time. Please reopen if the problem still happens. It is recommended to attach a full log of Jenkins starting.

            huybrechts huybrechts
            alokkumar_03 Alok Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: