Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-9193

NPE with Docker manifests that contain null for a "Cmd" field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 4.4.2, 4.4.3
    • Fix Version/s: 4.5.0
    • Component/s: Docker
    • Labels:
      None
    • Severity:
      High

      Description

      Some docker builds may produce an image that will make the docker client produce a manifest.json that has some null values in it. Specifically the "Cmd" field is important to us, and a null for a value for this field will cause a NPE when rendering the "Docker Info" tab on the UI, which means it won't render in the UI.

      We should fix this NPE; if such a manifest is pushed to Artifactory, we can print something like "null" or "manifest doesn't contain Cmd info" for the CMD row in the Docker Info tab.

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                shayy Shay Yaakov (Inactive)
                Reporter:
                uriahl Uriah Levy
                Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

                    Connection: RTFACT Sync
                    RTMID-9193 -
                    SYNCHRONIZED
                    • Last Sync Date: