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

Starting from 2.8.4 I get "Cannot read properties of null (reading 'toString')"

      Starting from 2.8.4 I get this error on initialization of active choice cascade

      Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
          at e.getElementValue (UnoChoice.js:1:1615)
          at u (UnoChoice.js:1:7682)
          at l.getReferencedParametersAsText (UnoChoice.js:1:8682)
          at s.<anonymous> (UnoChoice.js:1:13433)
          at s.update (UnoChoice.js:1:3508)
          at UnoChoice.js:1:4958
          at _invokeIgnored (UnoChoice.js:1:2225)
          at Object.<anonymous> (UnoChoice.js:1:4202)
          at Object.renderDynamicRenderParameter (UnoChoice.js:1:3508)
      

      I have

      • isMultiTenant - Check Boxes
      • configuration - Single Select - Referenced isMultiTenant (using isMultiTenant.toBoolean())
      • selectedConfiguration - Formatted Hidden HTML - Referenced configuration
      Updating cascade of parameter [ configuration ] ...
      UnoChoice.js:1 Values retrieved from Referenced Parameters: isMultiTenant=
      UnoChoice.js:1 Calling Java server code to update HTML elements...
      UnoChoice.js:1 Updating cascade of parameter [ selectedConfiguration ] ...
      UnoChoice.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
      

        1. config.xml
          5 kB
        2. Jenkinsfile
          0.9 kB
        3. Screenshot 2024-11-26 at 21.14.29.png
          Screenshot 2024-11-26 at 21.14.29.png
          786 kB
        4. Scriptler1.groovy
          0.0 kB
        5. Scriptler2.groovy
          0.3 kB
        6. Scriptler3.groovy
          0.3 kB
        7. Scriptler4.groovy
          0.0 kB
        8. Scriptler5.groovy
          0.0 kB
        9. Scriptler6.groovy
          0.1 kB
        10. Scriptler7.groovy
          0.1 kB
        11. Untitled.png
          Untitled.png
          888 kB

            kinow Bruno P. Kinoshita
            jiri_skrivanek Jiří Skřivánek
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: