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

Build-Flow cause all executers to Die when executing a simple build job.

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • flow-plugin
    • windows 2008

      When executing a simple build with build flow, i.e.:
      "
      build("[jobName]")
      "

      All my executers die with:
      java.lang.NullPointerException
      at hudson.model.ParametersAction.getAssignedLabel(ParametersAction.java:128)
      at hudson.model.Queue$Item.getAssignedLabel(Queue.java:1457)
      at hudson.model.Node.canTake(Node.java:330)
      at hudson.model.Queue$JobOffer.canTake(Queue.java:272)
      at hudson.model.Queue.maintain(Queue.java:1106)
      at hudson.model.Queue.pop(Queue.java:935)
      at hudson.model.Executor.grabJob(Executor.java:297)
      at hudson.model.Executor.run(Executor.java:211)

          [JENKINS-20834] Build-Flow cause all executers to Die when executing a simple build job.

          This seems to be related to your job's parameter missing a default value.

          Try to either:

          1. set parameters to the job you're invoking via Build-Flow i.e:
            build("jobName",param1:value1)
            or
          2. set default values for the parameter within that job's configuration , i.e: in config.xml of jobName.

          dominique clain added a comment - This seems to be related to your job's parameter missing a default value. Try to either: set parameters to the job you're invoking via Build-Flow i.e: build("jobName",param1:value1) or set default values for the parameter within that job's configuration , i.e: in config.xml of jobName.

          nir h added a comment -

          Upgrading Jenkins version solved it.

          nir h added a comment - Upgrading Jenkins version solved it.

          nir h added a comment -

          Upgrading Jenkins version solved it.

          nir h added a comment - Upgrading Jenkins version solved it.

            Unassigned Unassigned
            nir_hp nir h
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: