java.io.IOException: Cannot fetch remote index for repository "couch" [id=couch], error occurred.

Sonatype JIRA | Rich Seddon | 2 years ago
  1. 0

    The nexus UI allows you to enter invalid URL's in proxy repository configuration. The stack below is the result of entering "http://files.couchbase.com/maven2 /". {quote} 2014-07-11 08:17:51 WARN [pxpool-1-thread-2] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Creating initial index, repositoryId=couch java.io.IOException: Cannot fetch remote index for repository "couch" [id=couch], error occurred. at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1342) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.access$1100(DefaultIndexerManager.java:189) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager$IndexUpdateRunnable.run(DefaultIndexerManager.java:1058) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.sharedSingle(DefaultIndexerManager.java:2310) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:999) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:962) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:939) ~[na:na] at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:62) ~[na:na] at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69) ~[na:na] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157) ~[nexus-core-2.7.2-03.jar:2.7.2-03] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419) ~[nexus-scheduler-2.7.2-03.jar:2.7.2-03] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45) [nexus-core-2.7.2-03.jar:2.7.2-03] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_60] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 33: http://files.couchbase.com/maven2 /.index/nexus-maven-repository-index.properties at java.net.URI.create(URI.java:859) ~[na:1.7.0_60] at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:69) ~[httpclient-4.2.6.jar:4.2.6] at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:190) ~[nexus-core-2.7.2-03.jar:2.7.2-03] at org.sonatype.nexus.index.DefaultIndexerManager$11.retrieve(DefaultIndexerManager.java:1252) ~[na:na] at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:465) ~[na:na] at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) ~[na:na] at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:595) ~[na:na] at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:822) ~[na:na] at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1289) ~[na:na] ... 19 common frames omitted Caused by: java.net.URISyntaxException: Illegal character in path at index 33: http://files.couchbase.com/maven2 /.index/nexus-maven-repository-index.properties at java.net.URI$Parser.fail(URI.java:2829) ~[na:1.7.0_60] at java.net.URI$Parser.checkChars(URI.java:3002) ~[na:1.7.0_60] at java.net.URI$Parser.parseHierarchical(URI.java:3086) ~[na:1.7.0_60] at java.net.URI$Parser.parse(URI.java:3034) ~[na:1.7.0_60] at java.net.URI.<init>(URI.java:595) ~[na:1.7.0_60] at java.net.URI.create(URI.java:857) ~[na:1.7.0_60] ... 28 common frames omitted {quote}

    Sonatype JIRA | 2 years ago | Rich Seddon
    java.io.IOException: Cannot fetch remote index for repository "couch" [id=couch], error occurred.
  2. 0

    [UI] a docker image name starting with space ' ' will lead to stacktrace and no UI response

    GitHub | 2 years ago | feliksik
    java.lang.IllegalArgumentException: Illegal character in path at index 40: https://index.docker.io/v1/repositories/ google/cadvisor/images
  3. 0

    GitHub comment 703#130549111

    GitHub | 1 year ago | cjellick
    java.lang.IllegalArgumentException: Illegal character in path at index 33: https://api.github.com/orgs/Craig Jellick
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException: Illegal character in query at index?

    GitHub | 2 years ago | nono240
    java.lang.IllegalArgumentException: Illegal character in query at index 456: http://as.tubemogul.com/vast/F4KbEOBw6XQj4tQT6x9k?ad_id=ilhGHekBkE1A7keiGBGm&site_id=rw8b5HO9LUKKfZZrg45h&price=4.71&bi=B07vUO8yXrquf4WCkshi0P_c1VU-5H13oFzwqvZpDKL589DEyH60e8x7SupL7RDr9dIRIIoKli-pMs-gdUmgswrYzGlwhcQkYF-rBt15m7pRm_KHqNeucZROWEczA8s-9zE2TiYG1xiHP4vyFvsttjc2GOX9_ru1yJnLzv1hyDZSFo&bt=f&ip_address=49.230.128.151&tm_user_cntry=217&auction_id=3b3deb21-e793-4db2-b7a8-e5b6ada83902.1&tm_device_group=PHN&tm_mobile_app_type=a&tm_device_model=Nexus 5&tm_os_group=android&tm_user_id=8559657d-e0a6-4d40-8a10-756548908bb4
  6. 0

    Spaces in vCode

    GitHub | 4 years ago | picon-software
    java.lang.RuntimeException: An error occured while executing doInBackground()
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.net.URISyntaxException

    Illegal character in path at index 33: http://files.couchbase.com/maven2 /.index/nexus-maven-repository-index.properties

    at java.net.URI$Parser.fail()
  2. Java RT
    URI.create
    1. java.net.URI$Parser.fail(URI.java:2829)[na:1.7.0_60]
    2. java.net.URI$Parser.checkChars(URI.java:3002)[na:1.7.0_60]
    3. java.net.URI$Parser.parseHierarchical(URI.java:3086)[na:1.7.0_60]
    4. java.net.URI$Parser.parse(URI.java:3034)[na:1.7.0_60]
    5. java.net.URI.<init>(URI.java:595)[na:1.7.0_60]
    6. java.net.URI.create(URI.java:857)[na:1.7.0_60]
    6 frames
  3. Apache HttpClient
    HttpGet.<init>
    1. org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:69)[httpclient-4.2.6.jar:4.2.6]
    1 frame
  4. ${project.groupId}:${project.artifactId}
    HttpClientRemoteStorage.retrieveItem
    1. org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:190)[nexus-core-2.7.2-03.jar:2.7.2-03]
    1 frame
  5. Sonatype Nexus Indexer
    DefaultIndexerManager$11.retrieve
    1. org.sonatype.nexus.index.DefaultIndexerManager$11.retrieve(DefaultIndexerManager.java:1252)[na:na]
    1 frame
  6. Maven :: Indexer Core
    DefaultIndexUpdater.fetchAndUpdateIndex
    1. org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:465)[na:na]
    2. org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76)[na:na]
    3. org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:595)[na:na]
    4. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:822)[na:na]
    5. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159)[na:na]
    5 frames
  7. Sonatype Nexus Indexer
    DefaultIndexerManager.reindexRepository
    1. org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1289)[na:na]
    2. org.sonatype.nexus.index.DefaultIndexerManager.access$1100(DefaultIndexerManager.java:189)[na:na]
    3. org.sonatype.nexus.index.DefaultIndexerManager$IndexUpdateRunnable.run(DefaultIndexerManager.java:1058)[na:na]
    4. org.sonatype.nexus.index.DefaultIndexerManager.sharedSingle(DefaultIndexerManager.java:2310)[na:na]
    5. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:999)[na:na]
    6. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:962)[na:na]
    7. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:939)[na:na]
    7 frames
  8. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:62)[na:na]
    2. org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69)[na:na]
    3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157)[nexus-core-2.7.2-03.jar:2.7.2-03]
    3 frames
  9. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419)[nexus-scheduler-2.7.2-03.jar:2.7.2-03]
    1 frame
  10. ${project.groupId}:${project.artifactId}
    MDCAwareCallable.call
    1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45)[nexus-core-2.7.2-03.jar:2.7.2-03]
    1 frame
  11. Shiro
    SubjectCallable.call
    1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.2.jar:1.2.2]
    2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.2.jar:1.2.2]
    2 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_60]
    2. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_60]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_60]
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_60]
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_60]
    6. java.lang.Thread.run(Thread.java:745)[na:1.7.0_60]
    6 frames