java.io.IOException: Package content not found in remote repository

Sonatype JIRA | Kelly Robinson | 1 year ago
  1. 0

    Noticed this when I typed in the wrong version populating content into a nuget repo for testing. The code explicitly throws an IOException when remote content isn't found. I would (perhaps naively) expect that this would just result in a 404. Truncated exception from log shown below: {code} 2015-12-03 10:10:29,465-0800 WARN [qtp54656185-342] admin com.sonatype.nexus.repository.nuget.internal.proxy.NugetFeedFetcher - Status code 404 contacting https://www.nuget.org/api/v2/Packages(Id='jQuery',Version='7.0.4') 2015-12-03 10:10:29,467-0800 WARN [qtp54656185-342] admin com.sonatype.nexus.repository.nuget.internal.proxy.NugetProxyFacet - Failed to fetch: jQuery/7.0.4 java.io.IOException: Package content not found in remote repository at com.sonatype.nexus.repository.nuget.internal.proxy.NugetProxyFacet.fetch(NugetProxyFacet.java:72) [na:na] at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.get(ProxyFacetSupport.java:169) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.proxy.ProxyHandler.handle(ProxyHandler.java:48) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.handlers.ContentHeadersHandler.handle(ContentHeadersHandler.java:44) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.handlers.ConditionalRequestHandler.handle(ConditionalRequestHandler.java:72) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.handlers.ExceptionHandler.handle(ExceptionHandler.java:41) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Context.start(Context.java:102) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.SNAPSHOT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api:3.1.0] {code} This was triggered with a request against the api for a version that does not exist: http://localhost:8081/repository/nuget.org-proxy/jQuery/7.1.4

    Sonatype JIRA | 1 year ago | Kelly Robinson
    java.io.IOException: Package content not found in remote repository
  2. 0

    Git submodule checkout error: "Commit could not be resolved"

    YouTrack | 7 years ago
    java.io.IOException: The commit AnyObjectId[d887d06309ac50de98ab3311ad50e02a10e1b8a5] (referenced by rapidsms) is not found in repository: Repository[C:\TeamCityData\system\caches\git\git-403F6144.git]
  3. 0

    SocketException in JDKHttpConnection.getResponseCode (98)

    Eclipse Bugzilla | 1 year ago | error-reports-inbox
    java.io.IOException: Could not connect to remote repository. Your internet connection may be down.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 80#133423288

    GitHub | 1 year ago | RichardBollinger
    java.io.IOException: http://marketplace.eclipse.org/content/rest-client is not a valid repository location.
  6. 0

    GitHub comment 80#133423288

    GitHub | 1 year ago | RichardBollinger
    java.io.IOException: http://marketplace.eclipse.org/content/jsdt-jquery is not a valid repository location.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Package content not found in remote repository

      at com.sonatype.nexus.repository.nuget.internal.proxy.NugetProxyFacet.fetch()
    2. com.sonatype.nexus
      NugetProxyFacet.fetch
      1. com.sonatype.nexus.repository.nuget.internal.proxy.NugetProxyFacet.fetch(NugetProxyFacet.java:72)[na:na]
      1 frame
    3. org.sonatype.nexus
      ViewServlet.service
      1. org.sonatype.nexus.repository.proxy.ProxyFacetSupport.get(ProxyFacetSupport.java:169)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      2. org.sonatype.nexus.repository.proxy.ProxyHandler.handle(ProxyHandler.java:48)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      3. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      4. org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      5. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      6. org.sonatype.nexus.repository.view.handlers.ContentHeadersHandler.handle(ContentHeadersHandler.java:44)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      7. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      8. org.sonatype.nexus.repository.view.handlers.ConditionalRequestHandler.handle(ConditionalRequestHandler.java:72)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      9. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      10. org.sonatype.nexus.repository.view.handlers.ExceptionHandler.handle(ExceptionHandler.java:41)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      11. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      12. org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      13. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      14. org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      15. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      16. org.sonatype.nexus.repository.view.Context.start(Context.java:102)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      17. org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      18. org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      19. org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198)[org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.SNAPSHOT]
      20. org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160)[org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.SNAPSHOT]
      21. org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117)[org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.SNAPSHOT]
      21 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api:3.1.0]
      1 frame