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

NullPointerException rendering kubernetes cloud configuration due to missing pod label field attribute

XMLWordPrintable

    • 1.18.1

      NullPointerException because pod labels repeater tag is missing field attribute

       

      <f:entry title="${%Pod Labels}" field="podLabels">
              <f:repeatableHeteroProperty hasHeader="true" addCaption="${%Add Pod Label}"
                                          deleteCaption="${%Delete Pod Label}" />
          </f:entry>

       

      Jul 31, 2019 1:24:29 PM hudson.ExpressionFactory2$JexlExpression evaluate
      WARNING: Caught exception evaluating: h.filterDescriptors(it,attrs.descriptors) in /$stapler/bound/47f1d8ad-2867-4408-874b-e509636d2185/render. Reason: java.lang.NullPointerException: Descriptor list is null for context 'class hudson.model.Hudson' in thread 'Handling POST /$stapler/bound/47f1d8ad-2867-4408-874b-e509636d2185/render from 172.17.0.1 : qtp1717159510-91 KubernetesCloud/DescriptorImpl/config.jelly'
      java.lang.NullPointerException: Descriptor list is null for context 'class hudson.model.Hudson' in thread 'Handling POST /$stapler/bound/47f1d8ad-2867-4408-874b-e509636d2185/render from 172.17.0.1 : qtp1717159510-91 KubernetesCloud/DescriptorImpl/config.jelly'
              at hudson.model.DescriptorVisibilityFilter.apply(DescriptorVisibilityFilter.java:73)
              at hudson.Functions.filterDescriptors(Functions.java:1876)
      
      

            kylecronin Kyle Cronin
            kylecronin Kyle Cronin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: