java.util.ConcurrentModificationException

JIRA | (sourceforge) | 10 years ago
  1. 0

    Got the following in a high-volume running crawl when requesting a web-UI frontier report. The error appeared in the browser, deep into the report (during the 'snoozed queues' listing). Ideally this shouldn't happen, even if the crawl is active. Or perhaps, if it is understandable, it should be captured and the report should note it and proceed as much as possible. ------- An error occured java.util.ConcurrentModificationException java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031) at java.util.TreeMap$KeyIterator.next(TreeMap.java:1058) at org.archive.crawler.frontier.WorkQueueFrontier.appendQueueReports(WorkQueue Frontier.java:1235) at org.archive.crawler.frontier.WorkQueueFrontier.standardReportTo(WorkQueueFr ontier.java:1203) at org.archive.crawler.frontier.WorkQueueFrontier.reportTo(WorkQueueFrontier.j ava:1051) at org.archive.crawler.admin.CrawlJob.writeFrontierReport(CrawlJob.java:912) at org.archive.crawler.jspc.admin.reports.frontier_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicati onHandler.java:342) at org.archive.crawler.admin.ui.RootFilter.doFilter(RootFilter.java:67) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicati onHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHand ler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContex t.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)

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

    Message from Igor: ==================== Hi Gordon, On crawling I get concurrent error during the UI frontier report. This only happens on the running crawl. I cannot reproduce it if the crawl is paused. ---------------------------- An error occured java.util.ConcurrentModificationException java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031) at java.util.TreeMap$KeyIterator.next(TreeMap.java:1058) at org.archive.crawler.frontier.WorkQueueFrontier.appendQueueReports(WorkQueue Frontier.java:1235) at org.archive.crawler.frontier.WorkQueueFrontier.standardReportTo(WorkQueueFr ontier.java:1203) at org.archive.crawler.frontier.WorkQueueFrontier.reportTo(WorkQueueFrontier.j ava:1051) at org.archive.crawler.admin.CrawlJob.writeFrontierReport(CrawlJob.java:912) at org.archive.crawler.jspc.admin.reports.frontier_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicati onHandler.java:342) at org.archive.crawler.admin.ui.RootFilter.doFilter(RootFilter.java:67) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicati onHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHand ler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContex t.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)

    JIRA | 10 years ago | (sourceforge)
    java.util.ConcurrentModificationException
  3. 0

    exception when duplicating cell

    java.net Bugzilla | 6 years ago | strubin
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BEA Products Installation and Configuration Release Notes

    oracle.com | 1 week ago
    java.util.ConcurrentModificationException
  6. 0

    ConcurrentModificationException in Metamodel

    GitHub | 3 years ago | lucaswerkmeister
    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
      TreeMap$KeyIterator.next
      1. java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031)
      2. java.util.TreeMap$KeyIterator.next(TreeMap.java:1058)
      2 frames
    3. org.archive.crawler
      frontier_jsp._jspService
      1. org.archive.crawler.frontier.WorkQueueFrontier.appendQueueReports(WorkQueueFrontier.java:1235)
      2. org.archive.crawler.frontier.WorkQueueFrontier.standardReportTo(WorkQueueFrontier.java:1203)
      3. org.archive.crawler.frontier.WorkQueueFrontier.reportTo(WorkQueueFrontier.java:1051)
      4. org.archive.crawler.admin.CrawlJob.writeFrontierReport(CrawlJob.java:912)
      5. org.archive.crawler.jspc.admin.reports.frontier_jsp._jspService(UnknownSource)
      5 frames
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    6. Jetty Server
      WebApplicationHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
      2. org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
      2 frames
    7. org.archive.crawler
      RootFilter.doFilter
      1. org.archive.crawler.admin.ui.RootFilter.doFilter(RootFilter.java:67)
      1 frame
    8. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
      2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
      3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
      3 frames
    9. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
      1 frame
    10. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
      1 frame
    11. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
      2. org.mortbay.http.HttpServer.service(HttpServer.java:879)
      3. org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
      4. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
      5. org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
      6. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
      6 frames
    12. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
      2 frames