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

NPM Can not deserialize instance of java.lang.String out of START_OBJECT token

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.10.6
    • Fix Version/s: 7.17.4
    • Component/s: None
    • Labels:
    • Severity:
      Medium
    • Team:
      dev-artifactory-packages
    • Release Notes:
      Yes

      Description

      2019-07-10 04:47:04,200 [http-nio-127.0.0.1-8081-exec-6179] [ERROR] (o.a.a.n.r.NpmRemoteRepoHandler:478) - Error while parsing the response of a remote npm JSON query on 'https://registry.npmjs.org/storage-ui': Can not deserialize instance of java.lang.String out of START_OBJECT token
       at [Source: org.jfrog.storage.binstore.common.ReaderTrackingInputStream@32c0c9f0; line: 1, column: 368] (through reference chain: org.jfrog.repomd.npm.model.NpmPackageMetadata["time"]->org.jfrog.repomd.npm.model.Time["unpublished"])

       
      I saw multiple tickets that stated, that the issue is resolved, but apparently, not for us.

      NPM repository setup we have:

      npm-virtual:
          npm-local
          npm-remote-to-other-artifactory (couple of these)
          npm-external (registry.npmjs.org
      

      metadata of storage-ui from registry.npmjs.org

      {"_id":"storage-ui","name":"storage-ui","time":{"created":"2018-12-31T10:44:04.173Z","0.0.1":"2018-12-31T10:44:04.336Z","modified":"2019-01-01T07:06:16.767Z","0.0.2":"2018-12-31T10:57:35.862Z","0.0.3":"2018-12-31T11:28:09.346Z","0.0.4":"2018-12-31T11:33:07.855Z","0.0.5":"2018-12-31T11:44:25.035Z","0.0.7":"2018-12-31T11:54:35.706Z","0.0.8":"2019-01-01T04:57:41.683Z","unpublished":{"name":"laamginghong","time":"2019-01-01T07:06:16.767Z","tags":{"latest":"0.0.2"},"versions":["0.0.2"],"maintainers":[{"name":"laamginghong","email":"351390560@qq.com"}]}}}
       

        Attachments

          Activity

              People

              Assignee:
              Oleksis Oleksii Semenov [EXT]
              Reporter:
              gskolysz Grzegorz Skołyszewski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: