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

getGroovyBinding NPE

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      JENKINS VERSION: 1.625.2 LTE
      PLUGIN VERSION: 0.53

      when a job is triggered that uses the "Choose Source for Default Value" and the "Default Groovy Script" option is used, an NPE is generated when the job is run.

      Nov 20, 2015 4:25:00 PM com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition executeGroovyScriptAndProcessGroovyValue
      SEVERE: null
      java.lang.NullPointerException
              at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyBinding(ExtendedChoiceParameterDefinition.java:690)
              at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyShell(ExtendedChoiceParameterDefinition.java:711)
              at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScript(ExtendedChoiceParameterDefinition.java:671)
              at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScriptAndProcessGroovyValue(ExtendedChoiceParameterDefinition.java:660)
              at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeValue(ExtendedChoiceParameterDefinition.java:633)
              at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeEffectiveDefaultValue(ExtendedChoiceParameterDefinition.java:787)
              at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getDefaultParameterValue(ExtendedChoiceParameterDefinition.java:592)
              at jenkins.model.ParameterizedJobMixIn.getDefaultParametersValues(ParameterizedJobMixIn.java:154)
              at jenkins.model.ParameterizedJobMixIn.scheduleBuild2(ParameterizedJobMixIn.java:136)
              at jenkins.model.ParameterizedJobMixIn.scheduleBuild(ParameterizedJobMixIn.java:94)
              at hudson.model.AbstractProject.scheduleBuild(AbstractProject.java:837)
              at hudson.triggers.TimerTrigger.run(TimerTrigger.java:55)
              at hudson.triggers.Trigger.checkTriggers(Trigger.java:268)
              at hudson.triggers.Trigger$Cron.doRun(Trigger.java:217)
              at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
       
      

        Attachments

          Activity

          jimbo jim gedarovich created issue -
          vimil vimil made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 167128 ] JNJira + In-Review [ 198121 ]

            People

            Assignee:
            vimil vimil
            Reporter:
            jimbo jim gedarovich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: