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

Jenkins ui parameters are not getting rendered , using latest active-choice plugin

XMLWordPrintable

      I have set up a jenkins with 2.440.1 version , installed the active-choice plugin with 2.8.1 version

      Created a job which has 6 parameters

      1. hypervisor
      2. location
      3. environment
      4. esx_host
      5. host_to_provision
      6. install_type

      Expected :
      Based on the hypervisor value, below parameters must be rendered with an appropriate values.

      Actual cause : 
      For the 1st time, first 5 values  are rendered but install_type values is not rendered but when i change the values of the hypervisor parameter then all values are rendered but when refreshed the page again only first 5 values are rendered.

      Working on : 
      jenkins version 2.387.2 and actice-choice version 2.6.5

      Error: 

      Updating cascade of parameter [ install_type ] ...
      UnoChoice.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
          at e.getElementValue (UnoChoice.js:1:1615)
          at y (UnoChoice.js:1:7280)
          at g.getReferencedParametersAsText (UnoChoice.js:1:8280)
          at g.<anonymous> (UnoChoice.js:1:8410)
          at g.update (UnoChoice.js:1:3209)
          at UnoChoice.js:1:5818
          at n (UnoChoice.js:1:2170)
          at Object.<anonymous> (UnoChoice.js:1:4919)
          at Object.renderCascadeChoiceParameter (UnoChoice.js:1:3209)
          at build?delay=0sec:227:15
      e.getElementValue @ UnoChoice.js:1
      y @ UnoChoice.js:1
      g.getReferencedParametersAsText @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      n @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ build?delay=0sec:227
      Promise.then (async)
      n @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ build?delay=0sec:227
      Show 12 more frames
      Show less
      UnoChoice.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
          at e.getElementValue (UnoChoice.js:1:1615)
          at y (UnoChoice.js:1:7280)
          at g.getReferencedParametersAsText (UnoChoice.js:1:8280)
          at g.<anonymous> (UnoChoice.js:1:8410)
          at g.update (UnoChoice.js:1:3209)
          at UnoChoice.js:1:5818
          at n (UnoChoice.js:1:2170)
          at Object.<anonymous> (UnoChoice.js:1:4919)
          at Object.renderCascadeChoiceParameter (UnoChoice.js:1:3209)
          at build?delay=0sec:238:15
      e.getElementValue @ UnoChoice.js:1
      y @ UnoChoice.js:1
      g.getReferencedParametersAsText @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      n @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ build?delay=0sec:238
      Promise.then (async)
      n @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ UnoChoice.js:1
      (anonymous) @ build?delay=0sec:238
      Show 12 more frames
      Show less
      UnoChoice.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
          at e.getElementValue (UnoChoice.js:1:1615)
          at y (UnoChoice.js:1:7280)
          at g.getReferencedParametersAsText (UnoChoice.js:1:8280)
          at g.<anonymous> (UnoChoice.js:1:8410)
          at g.update (UnoChoice.js:1:3209)
          at UnoChoice.js:1:5818
          at n (UnoChoice.js:1:2170)
          at Object.<anonymous> (UnoChoice.js:1:4919)
          at Object.renderCascadeChoiceParameter (UnoChoice.js:1:3209)
          at build?delay=0sec:249:15

      log error msg:
      attached

            kinow Bruno P. Kinoshita
            stamboli Shahbaj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: