Hi, i'm running with Jenkins 1.559 and promoted builds plugin 2.17.
      In a job with a promotion process defined with a manual approval, the first execution of the promotion on a build (by clicking 'approve' button) is successful, but the next ones (by clicking on 'Re-execute promotion' button) return a blank http page, and produces this exception in Jenkins log:

       
      Error while serving http://ci-server/jenkins/job/test_promotion_1/descriptorByName/org.jenkinsci.plugins.ghprb.GhprbTrigger/checkCron
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor1135.invoke(Unknown Source)
      (snip)	
      Caused by: java.lang.NoSuchMethodError: hudson.triggers.TimerTrigger$DescriptorImpl.doCheckSpec(Ljava/lang/String;)Lhudson/util/FormValidation;
      	at org.jenkinsci.plugins.ghprb.GhprbTrigger$DescriptorImpl.doCheckCron(GhprbTrigger.java:349)
      

      The problem is not reproducible when i use an admin user.

          [JENKINS-24970] Blank page when reapproving

          Maxime Lemanissier created issue -
          Maxime Lemanissier made changes -
          Description Original: Hi, i'm running with Jenkins 1.559 and promoted builds plugin 2.17.
          In a job with a promotion process defined with a manual approbation, the first execution of the promotion on a build (by clicking 'approve' button) is successful, but the next ones (by clicking on 'Re-execute promotion' button) return a blank http page, and produces this exception in Jenkins log:
          {code}
          Error while serving http://ci-server/jenkins/job/test_promotion_1/descriptorByName/org.jenkinsci.plugins.ghprb.GhprbTrigger/checkCron
          java.lang.reflect.InvocationTargetException
          at sun.reflect.GeneratedMethodAccessor1135.invoke(Unknown Source)
          (snip)
          Caused by: java.lang.NoSuchMethodError: hudson.triggers.TimerTrigger$DescriptorImpl.doCheckSpec(Ljava/lang/String;)Lhudson/util/FormValidation;
          at org.jenkinsci.plugins.ghprb.GhprbTrigger$DescriptorImpl.doCheckCron(GhprbTrigger.java:349)
          {code}

          The problem is not reproducible when i use an admin user.
          New: Hi, i'm running with Jenkins 1.559 and promoted builds plugin 2.17.
          In a job with a promotion process defined with a manual approval, the first execution of the promotion on a build (by clicking 'approve' button) is successful, but the next ones (by clicking on 'Re-execute promotion' button) return a blank http page, and produces this exception in Jenkins log:
          {code}
          Error while serving http://ci-server/jenkins/job/test_promotion_1/descriptorByName/org.jenkinsci.plugins.ghprb.GhprbTrigger/checkCron
          java.lang.reflect.InvocationTargetException
          at sun.reflect.GeneratedMethodAccessor1135.invoke(Unknown Source)
          (snip)
          Caused by: java.lang.NoSuchMethodError: hudson.triggers.TimerTrigger$DescriptorImpl.doCheckSpec(Ljava/lang/String;)Lhudson/util/FormValidation;
          at org.jenkinsci.plugins.ghprb.GhprbTrigger$DescriptorImpl.doCheckCron(GhprbTrigger.java:349)
          {code}

          The problem is not reproducible when i use an admin user.
          Maxime Lemanissier made changes -
          Description Original: Hi, i'm running with Jenkins 1.559 and promoted builds plugin 2.17.
          In a job with a promotion process defined with a manual approval, the first execution of the promotion on a build (by clicking 'approve' button) is successful, but the next ones (by clicking on 'Re-execute promotion' button) return a blank http page, and produces this exception in Jenkins log:
          {code}
          Error while serving http://ci-server/jenkins/job/test_promotion_1/descriptorByName/org.jenkinsci.plugins.ghprb.GhprbTrigger/checkCron
          java.lang.reflect.InvocationTargetException
          at sun.reflect.GeneratedMethodAccessor1135.invoke(Unknown Source)
          (snip)
          Caused by: java.lang.NoSuchMethodError: hudson.triggers.TimerTrigger$DescriptorImpl.doCheckSpec(Ljava/lang/String;)Lhudson/util/FormValidation;
          at org.jenkinsci.plugins.ghprb.GhprbTrigger$DescriptorImpl.doCheckCron(GhprbTrigger.java:349)
          {code}

          The problem is not reproducible when i use an admin user.
          New: Hi, i'm running with Jenkins 1.559 and promoted builds plugin 2.17.
          In a job with a promotion process defined with a manual approval, the first execution of the promotion on a build (by clicking 'approve' button) is successful, but the next ones (by clicking on 'Re-execute promotion' button) return a blank http page, and produces this exception in Jenkins log:

          {code}
          Error while serving http://ci-server/jenkins/job/test_promotion_1/descriptorByName/org.jenkinsci.plugins.ghprb.GhprbTrigger/checkCron
          java.lang.reflect.InvocationTargetException
          at sun.reflect.GeneratedMethodAccessor1135.invoke(Unknown Source)
          (snip)
          Caused by: java.lang.NoSuchMethodError: hudson.triggers.TimerTrigger$DescriptorImpl.doCheckSpec(Ljava/lang/String;)Lhudson/util/FormValidation;
          at org.jenkinsci.plugins.ghprb.GhprbTrigger$DescriptorImpl.doCheckCron(GhprbTrigger.java:349)
          {code}

          The problem is not reproducible when i use an admin user.

          Daniel Beck added a comment -

          Duplicates JENKINS-22550

          Daniel Beck added a comment - Duplicates JENKINS-22550
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-22550 [ JENKINS-22550 ]

          Hi Daniel,
          Thanks for the link to JENKINS-22550. I have upgraded GHPRB plugin to 1.16-1 and I don't get the NoSuchMethodError anymore, but I still get the blank page when I re-execute a promotion. In my case, a given promotion with manual approval can only be run once on a given build.

          Maxime Lemanissier added a comment - Hi Daniel, Thanks for the link to JENKINS-22550 . I have upgraded GHPRB plugin to 1.16-1 and I don't get the NoSuchMethodError anymore, but I still get the blank page when I re-execute a promotion. In my case, a given promotion with manual approval can only be run once on a given build.
          Maxime Lemanissier made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

          One precision that might be important : this user does not have the 'promote' permission (though he's able to run the promotion using the button 'approve' - button 'force promotion' is not displayed)

          Maxime Lemanissier added a comment - One precision that might be important : this user does not have the 'promote' permission (though he's able to run the promotion using the button 'approve' - button 'force promotion' is not displayed)

          The html forms for approving or re-approving are also quite different.
          For first approval, the form is <form name="approve" action="promotionProcess/4-tag-live/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve" method="post">
          For next approvals (which produce blank page), the form is <form name="build" action="4-tag-live/build" method="post">

          Maxime Lemanissier added a comment - The html forms for approving or re-approving are also quite different. For first approval, the form is <form name="approve" action="promotionProcess/4-tag-live/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve" method="post"> For next approvals (which produce blank page), the form is <form name="build" action="4-tag-live/build" method="post">

            Unassigned Unassigned
            maxime_lem Maxime Lemanissier
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: