java.lang.IllegalArgumentException: Host name may not be null

Sonatype JIRA | Vincent Latombe | 7 years ago
  1. 0

    I'm trying to upgrade from Nexus OSS 1.5.0 to 1.6.0. I'm getting an HTTP 500 error when trying to browse remotely some proxy repositories. - I tried the exact same configuration with the embedded container and it works perfectly. - It works perfectly on 1.5.0 Here is the log output I get when turning on debug logging. 2010-04-27 07\:41\:23 DEBUG [ (self-tuning)'] - o.s.s.w.PlexusConfi~ - Matched pathPattern [/service/*/repositories/*/remotebrowser/**] for requestURI [/service/local/repositories/codehaus-release/remotebrowser/http:/repository.codehaus.org/]. Utilizing corresponding filter chain... 2010-04-27 07\:41\:23 DEBUG [ (self-tuning)'] - o.s.n.p.r.RemoteBro~ - Created ResourceStore request for /http:/repository.codehaus.org/ 2010-04-27 07\:41\:23 DEBUG [ (self-tuning)'] - o.s.n.p.r.MavenRepo~ - remoteUrl=http:/repository.codehaus.org/ 2010-04-27 07\:41\:23 ERROR [ (self-tuning)'] - o.s.n.e.r.DefaultEr~ - Detected Error in Nexus java.lang.IllegalArgumentException: Host name may not be null at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68) at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107) at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280) at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220) at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89) at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.getContent(MavenRepositoryReader.java:202) at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.extract(MavenRepositoryReader.java:54) at org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get(RemoteBrowserResource.java:107) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:272) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)

    Sonatype JIRA | 7 years ago | Vincent Latombe
    java.lang.IllegalArgumentException: Host name may not be null
  2. 0

    I'm trying to upgrade from Nexus OSS 1.5.0 to 1.6.0. I'm getting an HTTP 500 error when trying to browse remotely some proxy repositories. - I tried the exact same configuration with the embedded container and it works perfectly. - It works perfectly on 1.5.0 Here is the log output I get when turning on debug logging. 2010-04-27 07\:41\:23 DEBUG [ (self-tuning)'] - o.s.s.w.PlexusConfi~ - Matched pathPattern [/service/*/repositories/*/remotebrowser/**] for requestURI [/service/local/repositories/codehaus-release/remotebrowser/http:/repository.codehaus.org/]. Utilizing corresponding filter chain... 2010-04-27 07\:41\:23 DEBUG [ (self-tuning)'] - o.s.n.p.r.RemoteBro~ - Created ResourceStore request for /http:/repository.codehaus.org/ 2010-04-27 07\:41\:23 DEBUG [ (self-tuning)'] - o.s.n.p.r.MavenRepo~ - remoteUrl=http:/repository.codehaus.org/ 2010-04-27 07\:41\:23 ERROR [ (self-tuning)'] - o.s.n.e.r.DefaultEr~ - Detected Error in Nexus java.lang.IllegalArgumentException: Host name may not be null at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68) at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107) at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280) at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220) at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89) at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.getContent(MavenRepositoryReader.java:202) at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.extract(MavenRepositoryReader.java:54) at org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get(RemoteBrowserResource.java:107) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:272) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)

    Sonatype JIRA | 7 years ago | Vincent Latombe
    java.lang.IllegalArgumentException: Host name may not be null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GeoWebCache/Mapserver invalid URI + invalid query

    GitHub | 5 years ago | hhperez
    java.lang.IllegalArgumentException: Invalid uri 'http://localhost:8082/cgi-bin/mapserv.exe?map= C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&': Invalid query
  5. 0

    Exception on double click if changed column order

    GitHub | 4 years ago | ktisha
    java.lang.IllegalArgumentException: Invalid uri 'http://crucible.labs.intellij.net/rest-service/reviews-v1/get into account tab characters for file type PY-8580 "Smart indent pasted lines" does not work with.../details': escaped absolute path not valid

    2 unregistered visitors
    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.lang.IllegalArgumentException

      Host name may not be null

      at org.apache.commons.httpclient.HttpHost.<init>()
    2. HttpClient
      GetMethod.<init>
      1. org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68)
      2. org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107)
      3. org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280)
      4. org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220)
      5. org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
      5 frames
    3. org.sonatype.nexus
      RemoteBrowserResource.get
      1. org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.getContent(MavenRepositoryReader.java:202)
      2. org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.extract(MavenRepositoryReader.java:54)
      3. org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get(RemoteBrowserResource.java:107)
      3 frames
    4. ${project.groupId}:${project.artifactId}
      RestletResource.represent
      1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:272)
      1 frame
    5. Nexus Core
      NexusRestletResource.represent
      1. org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)
      1 frame