null for filtered combination with hudson/project/matrix tag

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      How to reproduce:

      • Create a new multi-configuration project
      • Add a user-defined axis:
        • Name: axis1
        • Value: value1 value2
      • Add a combination filter:
        • axis1 != 'value2'
      • Save the configuration
      • "values2" is not displayed in status page.

      This is caused by null MatrixConfiguration is passed via built-in hudson/project/matrix tag, as MatrixProject#getItem returns null for inactive axes combination.
      This often causes NPE for plugins using hudson/project/matrix.

            Assignee:
            ikedam
            Reporter:
            ikedam
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: