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

Artifactory failed to start due to IndexOutOfBoundsException if the artifactory key is corrupted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      6.14.0 (Zip install on Ubuntu 18.04 VM)

      Description

      This happens due to excessive read of artifactory key. We only need this key for migration, if master key does not exist, but we read it on each start up regardless.

      In my test, I hard-restarted Ubuntu VM. As a result artifactory key file got empty (it was not empty before the boot - I had snapshot to verify that)

      As a result:

      This is the keys folder:

      Perhaps, this critical crash could've been avoided if the file was not checked.

        Attachments

          Activity

            People

            • Assignee:
              nadavy Nadav Yogev
              Reporter:
              alexd Alex Dvorkin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: