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

The 'Artifacts Not Downloaded Since' REST call returns 500 errors

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 4.10.0, 4.11.0
    • Fix Version/s: 4.12.2
    • Component/s: REST API
    • Labels:
      None

      Description

      This is the rest api command
      GET /api/search/usage?notUsedSince=long&createdBefore=long&repos=<repo>

      It is failing with a 500 error and NPE when retrieving the results.
      results on the terminal
      {
      "errors" : [

      { "status" : 500, "message" : "An unexpected error has occurred, please check Artifactory logs for further details." }

      ]
      }

      artifactory.log
      2016-08-04 11:16:01,737 [http-nio-8081-exec-1] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:48) - null
      java.lang.NullPointerException: null

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexeiv Alexei Vainshtein
                Reporter:
                aviz Avi Zaig (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: