org.apache.commons.httpclient.URIException: Illegal domain label: $library

JIRA | Michael Stack | 10 years ago
  1. 0

    Non ascii characters in URL param in camel

    Stack Overflow | 2 years ago
    org.apache.commons.httpclient.URIException: Invalid query
  2. 0

    hbase rest client get

    Stack Overflow | 4 years ago | user1576754
    org.apache.commons.httpclient.URIException: escaped absolute path not valid
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Issue on calling soap webservice using apache http client

    Stack Overflow | 1 year ago | Dkkarnavar
    org.apache.commons.httpclient.URIException: Invalid query
  5. 0

    In a local-machine broad-but-shallow test crawl with H1 TRUNK, got this flurry of exceptions in _out and matching in-UI alerts. If the URIs are this illegal, they shouldn't have reached frontier-scheduling, and/or even if they are illegal, the getServerKey fallback behavior may be insufficient and the redundant errors for a single URI excessive. May affect H2/H3 too. However, beside the distracting errors, does not appear to cause other problems. 2009-09-21 21:26:21.156 SEVERE thread-19 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: 4:http://gt%1$d.google.com/mt?v/x3dgwh.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.frontier.AbstractFrontier.tally(AbstractFrontier.java:429) at org.archive.crawler.frontier.AbstractFrontier.doJournalAdded(AbstractFrontier.java:451) at org.archive.crawler.frontier.WorkQueueFrontier.receive(WorkQueueFrontier.java:446) at org.archive.crawler.util.SetBasedUriUniqFilter.add(SetBasedUriUniqFilter.java:90) at org.archive.crawler.frontier.WorkQueueFrontier.schedule(WorkQueueFrontier.java:428) at org.archive.crawler.postprocessor.FrontierScheduler.schedule(FrontierScheduler.java:92) at org.archive.crawler.postprocessor.FrontierScheduler.innerProcess(FrontierScheduler.java:78) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) 2009-09-21 21:26:21.171 SEVERE thread-19 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: 4:http://gt%1$d.google.com/mt?v/x3dgwm.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.frontier.AbstractFrontier.tally(AbstractFrontier.java:429) at org.archive.crawler.frontier.AbstractFrontier.doJournalAdded(AbstractFrontier.java:451) at org.archive.crawler.frontier.WorkQueueFrontier.receive(WorkQueueFrontier.java:446) at org.archive.crawler.util.SetBasedUriUniqFilter.add(SetBasedUriUniqFilter.java:90) at org.archive.crawler.frontier.WorkQueueFrontier.schedule(WorkQueueFrontier.java:428) at org.archive.crawler.postprocessor.FrontierScheduler.schedule(FrontierScheduler.java:92) at org.archive.crawler.postprocessor.FrontierScheduler.innerProcess(FrontierScheduler.java:78) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) 2009-09-21 21:26:45.828 SEVERE thread-25 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: invalid:4:http://gt%1$d.google.com/mt?v/x3dgwh.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.prefetch.PreconditionEnforcer.considerDnsPreconditions(PreconditionEnforcer.java:227) at org.archive.crawler.prefetch.PreconditionEnforcer.innerProcess(PreconditionEnforcer.java:111) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) 2009-09-21 21:26:45.828 SEVERE thread-25 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: invalid:4:http://gt%1$d.google.com/mt?v/x3dgwh.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.postprocessor.CrawlStateUpdater.innerProcess(CrawlStateUpdater.java:61) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) 2009-09-21 21:26:45.828 SEVERE thread-25 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: invalid:4:http://gt%1$d.google.com/mt?v/x3dgwh.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.frontier.AbstractFrontier.tally(AbstractFrontier.java:429) at org.archive.crawler.frontier.AbstractFrontier.doJournalFinishedFailure(AbstractFrontier.java:465) at org.archive.crawler.frontier.WorkQueueFrontier.finished(WorkQueueFrontier.java:918) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157) 2009-09-21 21:26:46.250 SEVERE thread-33 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: invalid:4:http://gt%1$d.google.com/mt?v/x3dgwm.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.prefetch.PreconditionEnforcer.considerDnsPreconditions(PreconditionEnforcer.java:227) at org.archive.crawler.prefetch.PreconditionEnforcer.innerProcess(PreconditionEnforcer.java:111) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) 2009-09-21 21:26:46.250 SEVERE thread-33 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: invalid:4:http://gt%1$d.google.com/mt?v/x3dgwm.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.postprocessor.CrawlStateUpdater.innerProcess(CrawlStateUpdater.java:61) at org.archive.crawler.framework.Processor.process(Processor.java:109) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) 2009-09-21 21:26:46.250 SEVERE thread-33 org.archive.crawler.datamodel.ServerCache.getServerFor() Invalid URL encoding: invalid:4:http://gt%1$d.google.com/mt?v/x3dgwm.fresh/x26 org.apache.commons.httpclient.URIException: Invalid URL encoding at org.apache.commons.httpclient.URI.decode(URI.java:1775) at org.apache.commons.httpclient.URI.decode(URI.java:1731) at org.apache.commons.httpclient.URI.getCurrentHierPath(URI.java:3027) at org.archive.crawler.datamodel.CrawlServer.getServerKey(CrawlServer.java:360) at org.archive.crawler.datamodel.ServerCache.getServerFor(ServerCache.java:120) at org.archive.crawler.frontier.AbstractFrontier.tally(AbstractFrontier.java:429) at org.archive.crawler.frontier.AbstractFrontier.doJournalFinishedFailure(AbstractFrontier.java:465) at org.archive.crawler.frontier.WorkQueueFrontier.finished(WorkQueueFrontier.java:918) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157)

    JIRA | 7 years ago | Gordon Mohr
    org.apache.commons.httpclient.URIException: Invalid URL encoding

    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. org.apache.commons.httpclient.URIException

      Illegal domain label: $library

      at org.archive.crawler.datamodel.UURIFactory.checkDomainlabel()
    2. org.archive.crawler
      CrawlURI.calculateClassKey
      1. org.archive.crawler.datamodel.UURIFactory.checkDomainlabel(UURIFactory.java:480)
      2. org.archive.crawler.datamodel.UURIFactory.fixup(UURIFactory.java:377)
      3. org.archive.crawler.datamodel.UURIFactory.create(UURIFactory.java:254)
      4. org.archive.crawler.datamodel.UURIFactory.create(UURIFactory.java:244)
      5. org.archive.crawler.datamodel.UURIFactory.getInstance(UURIFactory.java:213)
      6. org.archive.crawler.datamodel.CrawlURI.calculateClassKey(CrawlURI.java:396)
      6 frames