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

APK files not able to be indexed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 5.10.4
    • Fix Version/s: 7.6.0
    • Component/s: Package indexer
    • Labels:
      None
    • Severity:
      Medium

      Description

      Customer upgraded with the export/import from 5.3 to 5.10.X.  The import successfully completes but has a lot of errors.  They have 2000 apk files that are not being able to be indexed.  The following error is spit out:

      Failed to index 'example-repo-local:some-file.apk': Unexpected record signature: 0X647

      Failed to get  zip Input Stream: Unexpected record signature: 0X647

      The customer and us have been able to unzip these apk files without any issues.  These files have been pushed to android devices and installed successfully with no error, so android was able to extract them and install fine.

      It seems to be isolated to just Artifactory and the java.util.zip.ZipExecution JAVA class having a problem with it, but nothing else.  Is the Java class that artifactory is using outdated? Or maybe it's a known issue with that Java class? 

       

      Reproduce

      Attached are a couple sample apk files that experience the behavior.  

      **simply deploy the files to Artifactory and look to the logs

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                yuvalr Yuval Reches (Inactive)
                Reporter:
                scottm Scott Mosher
                Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: