java.util.ConcurrentModificationException

JIRA | Gordon Mohr | 9 years ago
  1. 0

    Latest test crawl has a lot of these alerts: Nov 29, 2007 10:13:28 PM org.archive.crawler.framework.ToeThread recoverableProblem SEVERE: Problem java.util.ConcurrentModificationException occured when trying to process 'http://pressherald.mainetoday.com/__utm.js' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP (in thread 'ToeThread #27: http://pressherald.mainetoday.com/__utm.js'; in processor 'HTTP') java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1085) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1068) at java.util.AbstractMap$2$1.next(AbstractMap.java:440) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.modules.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:443) at org.archive.modules.Processor.innerProcessResult(Processor.java:152) at org.archive.modules.Processor.process(Processor.java:118) at org.archive.modules.fetcher.FetchHTTP.process(FetchHTTP.java:677) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:310) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157) Nov 29, 2007 10:13:28 PM org.archive.crawler.framework.ToeThread recoverableProblem SEVERE: Problem java.util.ConcurrentModificationException occured when trying to process 'http://www.kodychamberlain.com/' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP (in thread 'ToeThread #76: http://www.kodychamberlain.com/'; in processor 'HTTP') java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1085) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1068) at java.util.AbstractMap$2$1.next(AbstractMap.java:440) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.modules.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:443) at org.archive.modules.Processor.innerProcessResult(Processor.java:152) at org.archive.modules.Processor.process(Processor.java:118) at org.archive.modules.fetcher.FetchHTTP.process(FetchHTTP.java:677) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:310) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157) Perhaps a side-effect of the HttpClient 3.0.1->3.1 upgrade; may require extra locking. Although the exception is being caught in ToeThread and handled as a 'recoverableProblem', it essentially ruins the current-URI processing and may cause cookies to be dropped.

    JIRA | 9 years ago | Gordon Mohr
    java.util.ConcurrentModificationException
  2. 0

    Latest test crawl has a lot of these alerts: Nov 29, 2007 10:13:28 PM org.archive.crawler.framework.ToeThread recoverableProblem SEVERE: Problem java.util.ConcurrentModificationException occured when trying to process 'http://pressherald.mainetoday.com/__utm.js' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP (in thread 'ToeThread #27: http://pressherald.mainetoday.com/__utm.js'; in processor 'HTTP') java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1085) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1068) at java.util.AbstractMap$2$1.next(AbstractMap.java:440) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.modules.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:443) at org.archive.modules.Processor.innerProcessResult(Processor.java:152) at org.archive.modules.Processor.process(Processor.java:118) at org.archive.modules.fetcher.FetchHTTP.process(FetchHTTP.java:677) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:310) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157) Nov 29, 2007 10:13:28 PM org.archive.crawler.framework.ToeThread recoverableProblem SEVERE: Problem java.util.ConcurrentModificationException occured when trying to process 'http://www.kodychamberlain.com/' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP (in thread 'ToeThread #76: http://www.kodychamberlain.com/'; in processor 'HTTP') java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1085) at java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1068) at java.util.AbstractMap$2$1.next(AbstractMap.java:440) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.modules.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:443) at org.archive.modules.Processor.innerProcessResult(Processor.java:152) at org.archive.modules.Processor.process(Processor.java:118) at org.archive.modules.fetcher.FetchHTTP.process(FetchHTTP.java:677) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:310) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157) Perhaps a side-effect of the HttpClient 3.0.1->3.1 upgrade; may require extra locking. Although the exception is being caught in ToeThread and handled as a 'recoverableProblem', it essentially ruins the current-URI processing and may cause cookies to be dropped.

    JIRA | 9 years ago | Gordon Mohr
    java.util.ConcurrentModificationException
  3. 0

    It is sort of an overloaded server

    GitHub | 2 years ago | smokingwheels
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.util.ConcurrentModificationException

    GitHub | 1 year ago | smokingwheels
    java.util.ConcurrentModificationException
  6. 0

    ConcurrentModificationException when submitting multiple tasks at once

    Eclipse Bugzilla | 9 years ago | shawn.minto
    java.util.ConcurrentModificationException

    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.util.ConcurrentModificationException

      No message provided

      at java.util.TreeMap$PrivateEntryIterator.nextEntry()
    2. Java RT
      AbstractMap$2$1.next
      1. java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031)
      2. java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1085)
      3. java.util.TreeMap$SubMapEntryIterator.next(TreeMap.java:1068)
      4. java.util.AbstractMap$2$1.next(AbstractMap.java:440)
      4 frames
    3. HttpClient
      HttpMethodBase.execute
      1. org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608)
      2. org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187)
      3. org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314)
      4. org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045)
      5. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928)
      6. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000)
      6 frames
    4. webarchive-commons
      HttpRecorderGetMethod.execute
      1. org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116)
      1 frame
    5. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      2. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      3. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      4. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
      4 frames
    6. org.archive.modules
      FetchHTTP.process
      1. org.archive.modules.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:443)
      2. org.archive.modules.Processor.innerProcessResult(Processor.java:152)
      3. org.archive.modules.Processor.process(Processor.java:118)
      4. org.archive.modules.fetcher.FetchHTTP.process(FetchHTTP.java:677)
      4 frames
    7. org.archive.crawler
      ToeThread.run
      1. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:310)
      2. org.archive.crawler.framework.ToeThread.run(ToeThread.java:157)
      2 frames