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

Manual trigger execution causes TriggerException

    XMLWordPrintable

Details

    Description

      An error message "Could not trigger build!" is displayed in the delivery pipeline view when trying to execute the manual step, which has been setup using the build pipeline plugin. The API URL returns a HTTP 500.

      The error seems to occur regardless of whether the current build step has a configured upstream trigger or not.

      The following stacktrace can be found in the Jenkins log:

      jun 23, 2014 8:48:30 FM SEVERE au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView triggerBuild
      No upstream trigger found for this projectMyProject » Deploy-env02
      jun 23, 2014 8:48:30 FM WARNING se.diabol.jenkins.pipeline.DeliveryPipelineView triggerManual
      Could not trigger manual build MyProject/Deploy-env02 for upstream MyProject/Deploy-env01-smoke_tests id: 105
      se.diabol.jenkins.pipeline.trigger.TriggerException: Could not trigger
      	at se.diabol.jenkins.pipeline.trigger.BPPManualTrigger.triggerManual(BPPManualTrigger.java:35)
      	at se.diabol.jenkins.pipeline.DeliveryPipelineView.triggerManual(DeliveryPipelineView.java:265)
      	at se.diabol.jenkins.pipeline.PipelineApi.doManualStep(PipelineApi.java:47)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:79)
      	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:67)
      	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 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      	at org.eclipse.jetty.server.Server.handle(Server.java:370)
      	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      	at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
      	at org.eclipse.jetty.ajp.Ajp13Connection.access$2900(Ajp13Connection.java:45)
      	at org.eclipse.jetty.ajp.Ajp13Connection$RequestHandler.headerComplete(Ajp13Connection.java:237)
      	at org.eclipse.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:505)
      	at org.eclipse.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:158)
      	at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
      	at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalStateException: No upstream trigger found for this projectMyProject » Deploy-env02
      	at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.triggerBuild(BuildPipelineView.java:553)
      	at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.triggerManualBuild(BuildPipelineView.java:453)
      	at se.diabol.jenkins.pipeline.trigger.BPPManualTrigger.triggerManual(BPPManualTrigger.java:33)
      	... 83 more
      
      

      Attachments

        Issue Links

          Activity

            tommysdk Tommy Tynjä added a comment -

            The error occurs within the build pipeline plugin which doesn't seem to handle folders properly. This error occurs if the build steps reside within a folder, e.g. "MyProject", and the upstream project for the manually triggered step is configured with the downstream project name including the folder name, e.g. "MyProject/Deploy-env02". It would be desirable if this convention was supported, but a workaround is to just remove the folder name from the "Downstream Project Names" settings in the "Build other projects (manual step)" post-build action, e.g. to just state "Deploy-env02", and the manual trigger will work.

            Proposing that a more descriptive error message is returned when this error occurs.

            tommysdk Tommy Tynjä added a comment - The error occurs within the build pipeline plugin which doesn't seem to handle folders properly. This error occurs if the build steps reside within a folder, e.g. "MyProject", and the upstream project for the manually triggered step is configured with the downstream project name including the folder name, e.g. "MyProject/Deploy-env02". It would be desirable if this convention was supported, but a workaround is to just remove the folder name from the "Downstream Project Names" settings in the "Build other projects (manual step)" post-build action, e.g. to just state "Deploy-env02", and the manual trigger will work. Proposing that a more descriptive error message is returned when this error occurs.
            tommysdk Tommy Tynjä added a comment -

            Added a more descriptive error message, which suggests removing the folder prefix if present, since this is not handled properly by the Build Pipeline Plugin: https://github.com/Diabol/delivery-pipeline-plugin/pull/71

            tommysdk Tommy Tynjä added a comment - Added a more descriptive error message, which suggests removing the folder prefix if present, since this is not handled properly by the Build Pipeline Plugin: https://github.com/Diabol/delivery-pipeline-plugin/pull/71
            tommysdk Tommy Tynjä added a comment - Merged upstream: https://github.com/Diabol/delivery-pipeline-plugin/commit/88f24cabe30bc3a8a2c8ee533fecca182f0b6669

            Released in 0.8.2

            patbos Patrik Boström added a comment - Released in 0.8.2
            benoitc Benoit Cosmao added a comment -

            Hello,
            I'm experiencing the same problem again.
            Here is my plugin configuration :
            Jenkins 1.617
            Delivery Pipeline Plugin 0.9.4
            Build Pipeline Plugin 1.4.7
            and running on CentOs 7.1

            benoitc Benoit Cosmao added a comment - Hello, I'm experiencing the same problem again. Here is my plugin configuration : Jenkins 1.617 Delivery Pipeline Plugin 0.9.4 Build Pipeline Plugin 1.4.7 and running on CentOs 7.1

            Are you using folders?

            patbos Patrik Boström added a comment - Are you using folders?
            benoitc Benoit Cosmao added a comment -

            No, I'm not using folder plugin, if that was the question.
            I had to rename my downstream projet to make it works.
            My upstream project's name was MyProjectTask1, and my downstream project's was MyProjectTask2. When I renamed this last one Task2, the manual trigger worked fine.

            benoitc Benoit Cosmao added a comment - No, I'm not using folder plugin, if that was the question. I had to rename my downstream projet to make it works. My upstream project's name was MyProjectTask1, and my downstream project's was MyProjectTask2. When I renamed this last one Task2, the manual trigger worked fine.
            rsugasi Ram Sugasi added a comment -

            I ran into this problem today. I had a downstream project named Deploy_UAT. Renamed it from Deploy_UAT => Deploy_to_UAT (this didn’t work).
            Renamed the project back to Deploy_UAT and it works now.

            I am not sure if this works all the time.

            My environment:

            Jenkins ver. 1.554.2

            Delivery-pipeline MANIFEST information

            Extension-Name: delivery-pipeline-plugin
            Specification-Vendor: Diabol AB
            Implementation-Vendor: Diabol AB
            Implementation-Title: delivery-pipeline-plugin
            Implementation-Version: 0.8.11
            Group-Id: se.diabol.jenkins.pipeline
            Short-Name: delivery-pipeline-plugin
            Long-Name: Delivery Pipeline Plugin
            Url: https://wiki.jenkins-ci.org/display/JENKINS/Delivery+Pipeline+Plugin
            Plugin-Version: 0.8.11
            Hudson-Version: 1.509.4
            Jenkins-Version: 1.509.4
            Plugin-Dependencies: parameterized-trigger:2.21,jquery:1.7.2-1,token-m
            acro:1.9,promoted-builds:2.17;resolution:=optional,build-pipeline-plu
            gin:1.4.4;resolution:=optional
            Plugin-Developers: Patrik Bostrom:patbos:,Per Huss:perhuss:,Andreas Rehn:mrfatstrat:,Rickard von Essen:rickard_v_essen:,Gustav Ranby:gusran
            :,Tommy Tynja:tommysdk:

            rsugasi Ram Sugasi added a comment - I ran into this problem today. I had a downstream project named Deploy_UAT. Renamed it from Deploy_UAT => Deploy_to_UAT (this didn’t work). Renamed the project back to Deploy_UAT and it works now. I am not sure if this works all the time. My environment: Jenkins ver. 1.554.2 Delivery-pipeline MANIFEST information Extension-Name: delivery-pipeline-plugin Specification-Vendor: Diabol AB Implementation-Vendor: Diabol AB Implementation-Title: delivery-pipeline-plugin Implementation-Version: 0.8.11 Group-Id: se.diabol.jenkins.pipeline Short-Name: delivery-pipeline-plugin Long-Name: Delivery Pipeline Plugin Url: https://wiki.jenkins-ci.org/display/JENKINS/Delivery+Pipeline+Plugin Plugin-Version: 0.8.11 Hudson-Version: 1.509.4 Jenkins-Version: 1.509.4 Plugin-Dependencies: parameterized-trigger:2.21,jquery:1.7.2-1,token-m acro:1.9,promoted-builds:2.17;resolution:=optional,build-pipeline-plu gin:1.4.4;resolution:=optional Plugin-Developers: Patrik Bostrom:patbos:,Per Huss:perhuss:,Andreas Rehn:mrfatstrat:,Rickard von Essen:rickard_v_essen:,Gustav Ranby:gusran :,Tommy Tynja:tommysdk:

            I'm seeing the same problem and I don't use Delivery Pipeline plugin. Also, the "No upstream trigger found for this projectMyProject" message is raised by Build Pipeline Plugin, so I think this bug is in Build Pipeline Plugin.

            dserodio Daniel Serodio added a comment - I'm seeing the same problem and I don't use Delivery Pipeline plugin. Also, the "No upstream trigger found for this projectMyProject" message is raised by Build Pipeline Plugin, so I think this bug is in Build Pipeline Plugin.

            We finally found the problem and its really simple.

            Case mismatch when specifying downstream trigger names, really As long as you specify the exact upper/lower case characters (of the whole job path, including folder names) - its fine. But if you specify wrong, it doesn't complain but silently fails when triggering.

            fm4zyqnfbbfpim Subhas Dandapani added a comment - We finally found the problem and its really simple. Case mismatch when specifying downstream trigger names, really As long as you specify the exact upper/lower case characters (of the whole job path, including folder names) - its fine. But if you specify wrong, it doesn't complain but silently fails when triggering.
            tommysdk Tommy Tynjä added a comment -

            fm4zyqnfbbfpim Thank you for elaborating on the problem statement and providing a solution!

            Closing this issue.

            tommysdk Tommy Tynjä added a comment - fm4zyqnfbbfpim Thank you for elaborating on the problem statement and providing a solution! Closing this issue.

            Even thou Subhas explained the current workaround, I think this bug should stay open until it's properly fixed:

            The syntax for specifying job names when using manual trigger is the opposite of what one would expect: you must type the full job name, including the folder name, but without a leading slash. Normally, paths that don't begin with a slash are relative paths.

            eg.: SomeFolder/UpstreamJob needs to specify SomeFolder/DownstreamJob as the downstream job name. DownstreamJob won't work (despite both being in the same folder) and /SomeFolder/DownstreamJob won't work either, even thou they all show up as Downstream Projects when viewing the job's page in Jenkins.

            On the other hand, when using Parameterised Trigger Plugin, you don't need to specify the folder name. Just DownstreamJob works, and /FolderName/DownstreamJob also works. If Parameterised Trigger doesn't need a folder name to find the job, why does manual trigger need?

            dserodio Daniel Serodio added a comment - Even thou Subhas explained the current workaround, I think this bug should stay open until it's properly fixed: The syntax for specifying job names when using manual trigger is the opposite of what one would expect: you must type the full job name, including the folder name, but without a leading slash . Normally, paths that don't begin with a slash are relative paths. eg.: SomeFolder/UpstreamJob needs to specify SomeFolder/DownstreamJob as the downstream job name. DownstreamJob won't work (despite both being in the same folder) and /SomeFolder/DownstreamJob won't work either, even thou they all show up as Downstream Projects when viewing the job's page in Jenkins. On the other hand, when using Parameterised Trigger Plugin, you don't need to specify the folder name. Just DownstreamJob works, and /FolderName/DownstreamJob also works. If Parameterised Trigger doesn't need a folder name to find the job, why does manual trigger need?
            tommysdk Tommy Tynjä added a comment -

            dserodio Thank you for your feedback. The way the jobs are structured, one has to specify the folder name for this the work in the current solution. I would be happy to take a look at and review a proposed solution to what you are describing. Feel free to submit a pull request through https://github.com/Diabol/delivery-pipeline-plugin

            tommysdk Tommy Tynjä added a comment - dserodio Thank you for your feedback. The way the jobs are structured, one has to specify the folder name for this the work in the current solution. I would be happy to take a look at and review a proposed solution to what you are describing. Feel free to submit a pull request through  https://github.com/Diabol/delivery-pipeline-plugin
            dalvizu Dan Alvizu added a comment -

            Re-opening, we have a fix in a recent PR:

             

            https://github.com/jenkinsci/build-pipeline-plugin/pull/108

            dalvizu Dan Alvizu added a comment - Re-opening, we have a fix in a recent PR:   https://github.com/jenkinsci/build-pipeline-plugin/pull/108
            tommysdk Tommy Tynjä added a comment -

            dalvizu Great!

            tommysdk Tommy Tynjä added a comment - dalvizu Great!

            Code changed in jenkins
            User: Dan Alvizu
            Path:
            src/main/java/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension.java
            src/test/java/au/com/centrumsystems/hudson/plugin/buildpipeline/trigger/BuildPipelineTriggerTest.java
            http://jenkins-ci.org/commit/build-pipeline-plugin/6300e17fca0073c71f369a71bb7370b275e6f8dd
            Log:
            Merge pull request #108 from JamesForsee/JENKINS-38670

            [Fixed JENKINS-23532] Search Folders when trying to find upstream project

            Compare: https://github.com/jenkinsci/build-pipeline-plugin/compare/12e776638739...6300e17fca00

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dan Alvizu Path: src/main/java/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/BuildCardExtension.java src/test/java/au/com/centrumsystems/hudson/plugin/buildpipeline/trigger/BuildPipelineTriggerTest.java http://jenkins-ci.org/commit/build-pipeline-plugin/6300e17fca0073c71f369a71bb7370b275e6f8dd Log: Merge pull request #108 from JamesForsee/ JENKINS-38670 [Fixed JENKINS-23532] Search Folders when trying to find upstream project Compare: https://github.com/jenkinsci/build-pipeline-plugin/compare/12e776638739...6300e17fca00
            dalvizu Dan Alvizu added a comment -

            Fixed in v 1.5.7

            dalvizu Dan Alvizu added a comment - Fixed in v 1.5.7

            Hi!

            Since update to release 1.5.7 (from 1.5.6) we receive following exception:

            Could not trigger manual build PrivTests-Christoph/followup for upstream PrivTests-Christoph/main id: 7. Did you mean to specify followup? java.lang.NullPointerException at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.triggerManualBuild(BuildPipelineView.java:457) at se.diabol.jenkins.pipeline.trigger.BPPManualTrigger.triggerManual(BPPManualTrigger.java:35) Caused: se.diabol.jenkins.pipeline.trigger.TriggerException: Could not trigger at se.diabol.jenkins.pipeline.trigger.BPPManualTrigger.triggerManual(BPPManualTrigger.java:38) at se.diabol.jenkins.pipeline.DeliveryPipelineView.triggerManual(DeliveryPipelineView.java:451) at se.diabol.jenkins.pipeline.PipelineApi.doManualStep(PipelineApi.java:52) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at org.jenkinsci.plugins.modernstatus.ModernStatusFilter.doFilter(ModernStatusFilter.java:52) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:95) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 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 jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:92) 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:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

             

            Before this release, we have update the Delivery Pipeline Plugin to release 1.0.2, but there was no failure with manual triggers (and build-pipeline-plugin 1.5.6). We already tested various combinations (with relative and absolute paths; because of Cloudbees-Folder-Plugin) to specify the follow-up builds, but without luck!

            Best regards from Salzburg,
            Markus

            gmc_devel GMC Software Development B&R Corporate added a comment - - edited Hi! Since update to release 1.5.7 (from 1.5.6) we receive following exception: Could not trigger manual build PrivTests-Christoph/followup for upstream PrivTests-Christoph/main id: 7. Did you mean to specify followup? java.lang.NullPointerException at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.triggerManualBuild(BuildPipelineView.java:457) at se.diabol.jenkins.pipeline.trigger.BPPManualTrigger.triggerManual(BPPManualTrigger.java:35) Caused: se.diabol.jenkins.pipeline.trigger.TriggerException: Could not trigger at se.diabol.jenkins.pipeline.trigger.BPPManualTrigger.triggerManual(BPPManualTrigger.java:38) at se.diabol.jenkins.pipeline.DeliveryPipelineView.triggerManual(DeliveryPipelineView.java:451) at se.diabol.jenkins.pipeline.PipelineApi.doManualStep(PipelineApi.java:52) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at org.jenkinsci.plugins.modernstatus.ModernStatusFilter.doFilter(ModernStatusFilter.java:52) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:95) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 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 jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:92) 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:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)   Before this release, we have update the Delivery Pipeline Plugin to release 1.0.2, but there was no failure with manual triggers (and build-pipeline-plugin 1.5.6). We already tested various combinations (with relative and absolute paths; because of Cloudbees-Folder-Plugin) to specify the follow-up builds, but without luck! Best regards from Salzburg, Markus

             I m using now the Build Pipeline Plugin v1.5.7.1 with Delivery Pipeline Plugin v1.0.3
            ant the issue still occurs 

            marekkapowicki Marek Kapowicki added a comment -  I m using now the Build Pipeline Plugin v1.5.7.1 with Delivery Pipeline Plugin v1.0.3 ant the issue still occurs 
            tommysdk Tommy Tynjä added a comment -

            Proposed solution for Delivery Pipeline plugin merged to master: https://github.com/Diabol/delivery-pipeline-plugin/pull/266

            Will be featured in the next Delivery Pipeline plugin release.

            tommysdk Tommy Tynjä added a comment - Proposed solution for Delivery Pipeline plugin merged to master: https://github.com/Diabol/delivery-pipeline-plugin/pull/266 Will be featured in the next Delivery Pipeline plugin release.
            tommysdk Tommy Tynjä added a comment -

            Delivery Pipeline plugin adjustments for Build Pipeline plugin 1.5.7.1 released in Delivery Pipeline plugin version 1.0.5.

            tommysdk Tommy Tynjä added a comment - Delivery Pipeline plugin adjustments for Build Pipeline plugin 1.5.7.1 released in Delivery Pipeline plugin version 1.0.5.

            People

              patbos Patrik Boström
              tommysdk Tommy Tynjä
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: