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

Deployment overwrite check fails if no sha256 value is present

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.5.0, 5.5.1
    • Fix Version/s: 5.5.2
    • Component/s: None
    • Labels:
      None
    • Regression:
      Yes

      Description

      In certain scenarios Checksum Deploy may fail with error 500 with a stack trace resembling:

      java.lang.NullPointerException: null
      at org.artifactory.repo.db.DbStoringRepoMixin.shouldProtectPathDeletion(DbStoringRepoMixin.java:814)
      at org.artifactory.repo.db.DbStoringRepoMixin.shouldProtectPathDeletion(DbStoringRepoMixin.java:792)
      

      The error is usually encountered during replication and is not affected by HA / PRO /SaaS status.
      Issue does not affect new instances that were setup after 5.5.0, only instances that were upgraded to 5.5.0/5.5.1

      A workaround (apart from upgrade) is to run the SHA256 migration, where applicable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danf Dan Feldman
                Reporter:
                danf Dan Feldman
                Assigned QA:
                Matan Katz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: