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

null for filtered combination with hudson/project/matrix tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • core, matrix-project-plugin
    • None
    • Jenkins 1.551

      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.

            ikedam ikedam
            ikedam ikedam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: