Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2684

ConcurrentModificationException from BinaryResponseWriter

    XMLWordPrintableJSON

Details

    Description

      ConcurrentModificationException thrown from BinaryResponseWriter while writing SolrDocument to the response.

      SEVERE: java.util.ConcurrentModificationException
      at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
      at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
      at org.apache.solr.response.BinaryResponseWriter$Resolver.resolve(BinaryResponseWriter.java:98)
      at org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:242)
      at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:139)
      at org.apache.solr.common.util.JavaBinCodec.writeArray(JavaBinCodec.java:377)
      at org.apache.solr.common.util.JavaBinCodec.writeSolrDocumentList(JavaBinCodec.java:340)
      at org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:226)
      at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:139)
      at org.apache.solr.common.util.JavaBinCodec.writeNamedList(JavaBinCodec.java:134)
      at org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:222)
      at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:139)
      at org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:87)
      at org.apache.solr.response.BinaryResponseWriter.write(BinaryResponseWriter.java:49)
      at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:333)
      at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:261)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      Attachments

        1. SOLR-2684.patch
          4 kB
          Chris M. Hostetter
        2. SOLR-2684.patch
          2 kB
          Arul Kalaipandian

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              arulck Arul Kalaipandian
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: