org.sonatype.nexus.proxy.storage.remote.RemoteItemNotFoundException: Path Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551') not found in remote storage of repository "nuget.org-api" [id=nuget.org-api] (reason=NotFound, remoteUrl=https://www.nuget.org/api/v2/Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551')).

Sonatype JIRA | Peter Lynch | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When a request for a remote NuGet package is made and the result is 404 not found, Nexus should not print a full WARN stack trace. {noformat} 2015-02-18 00:00:40,726+0000 WARN [qtp1494633745-181379] anonymous com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery - Exception attempting to contact proxied repository nuget.org-api. org.sonatype.nexus.proxy.storage.remote.RemoteItemNotFoundException: Path Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551') not found in remote storage of repository "nuget.org-api" [id=nuget.org-api] (reason=NotFound, remoteUrl=https://www.nuget.org/api/v2/Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551')). at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:263) ~[nexus-core-2.11.1-01.jar:2.11.1-01] at com.sonatype.nexus.plugins.nuget.feed.NugetFeedFetcher.getStorageItem(NugetFeedFetcher.java:124) ~[na:na] at com.sonatype.nexus.plugins.nuget.feed.NugetFeedFetcher.cachePackageFeed(NugetFeedFetcher.java:73) ~[na:na] at com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery.entry(PassThroughNugetGallery.java:186) ~[na:na] at com.sonatype.nexus.plugins.nuget.rest.NugetGalleryResource.get(NugetGalleryResource.java:161) ~[na:na] at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233) ~[na:na] at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39) ~[na:na] at org.restlet.resource.Resource.getRepresentation(Resource.java:302) ~[na:na] at org.restlet.resource.Resource.handleGet(Resource.java:464) ~[na:na] at org.restlet.Finder.handle(Finder.java:353) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Router.handle(Router.java:504) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:36) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) ~[na:na] at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) ~[na:na] at org.restlet.Application.handle(Application.java:341) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Router.handle(Router.java:504) ~[na:na] at org.restlet.Filter.doHandle(Filter.java:150) ~[na:na] at org.restlet.Filter.handle(Filter.java:195) ~[na:na] at org.restlet.Router.handle(Router.java:504) ~[na:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) ~[na:na] at org.restlet.Component.handle(Component.java:676) ~[na:na] at org.restlet.Server.handle(Server.java:331) ~[na:na] {noformat} Expected: Log in a manner consistent with other proxy repository types on remote item not found.

    Sonatype JIRA | 2 years ago | Peter Lynch
    org.sonatype.nexus.proxy.storage.remote.RemoteItemNotFoundException: Path Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551') not found in remote storage of repository "nuget.org-api" [id=nuget.org-api] (reason=NotFound, remoteUrl=https://www.nuget.org/api/v2/Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551')).

    Root Cause Analysis

    1. org.sonatype.nexus.proxy.storage.remote.RemoteItemNotFoundException

      Path Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551') not found in remote storage of repository "nuget.org-api" [id=nuget.org-api] (reason=NotFound, remoteUrl=https://www.nuget.org/api/v2/Packages(Id='Sfx.AutoReferenceData.Common',Version='1.0.0.6551')).

      at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem()
    2. ${project.groupId}:${project.artifactId}
      HttpClientRemoteStorage.retrieveItem
      1. org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:263)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    3. com.sonatype.nexus
      NugetGalleryResource.get
      1. com.sonatype.nexus.plugins.nuget.feed.NugetFeedFetcher.getStorageItem(NugetFeedFetcher.java:124)[na:na]
      2. com.sonatype.nexus.plugins.nuget.feed.NugetFeedFetcher.cachePackageFeed(NugetFeedFetcher.java:73)[na:na]
      3. com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery.entry(PassThroughNugetGallery.java:186)[na:na]
      4. com.sonatype.nexus.plugins.nuget.rest.NugetGalleryResource.get(NugetGalleryResource.java:161)[na:na]
      4 frames
    4. ${project.groupId}:${project.artifactId}
      RestletResource.represent
      1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233)[na:na]
      1 frame
    5. Nexus Core
      NexusRestletResource.represent
      1. org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39)[na:na]
      1 frame
    6. org.restlet.resource
      Resource.handleGet
      1. org.restlet.resource.Resource.getRepresentation(Resource.java:302)[na:na]
      2. org.restlet.resource.Resource.handleGet(Resource.java:464)[na:na]
      2 frames
    7. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:353)[na:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      3. org.restlet.Filter.handle(Filter.java:195)[na:na]
      4. org.restlet.Router.handle(Router.java:504)[na:na]
      5. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      6. org.restlet.Filter.handle(Filter.java:195)[na:na]
      7. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      7 frames
    8. ${project.groupId}:${project.artifactId}
      RetargetableRestlet.doHandle
      1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:36)[na:na]
      1 frame
    9. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:195)[na:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      3. org.restlet.Filter.handle(Filter.java:195)[na:na]
      4. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      5. org.restlet.Filter.handle(Filter.java:195)[na:na]
      6. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      6 frames
    10. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)[na:na]
      1 frame
    11. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)[na:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      3. org.restlet.Filter.handle(Filter.java:195)[na:na]
      3 frames
    12. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[na:na]
      2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)[na:na]
      2 frames
    13. org.restlet
      Router.handle
      1. org.restlet.Application.handle(Application.java:341)[na:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      3. org.restlet.Filter.handle(Filter.java:195)[na:na]
      4. org.restlet.Router.handle(Router.java:504)[na:na]
      5. org.restlet.Filter.doHandle(Filter.java:150)[na:na]
      6. org.restlet.Filter.handle(Filter.java:195)[na:na]
      7. org.restlet.Router.handle(Router.java:504)[na:na]
      7 frames
    14. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[na:na]
      1 frame
    15. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:676)[na:na]
      2. org.restlet.Server.handle(Server.java:331)[na:na]
      2 frames