Hi There, I think Andre has already guided you in your earlier mail.. -------------------------------------------------------------------------------------------------------------------------------------------------------- This should be fixed in 3.6.2 which is available since Dec 25.
>From the release notes: "Fixed ConcurrentModificationException during highlighting, if all fields were requested." André -------------------------------------------------------------------------------------------------------------------------------------------------------- ________________________________________ Von: mechravi25 [mechrav...@yahoo.co.in] Gesendet: Freitag, 18. Januar 2013 11:10 An: solr-user@lucene.apache.org Betreff: ConcurrentModificationException in Solr 3.6.1 On 18 January 2013 12:01, mechravi25 <mechrav...@yahoo.co.in> wrote: > Hi all, > > > I am using Solr 3.6.1 version. I am giving a set of requests to solr > simultaneously. When I check the log file, I noticed the below exception > stack trace > > > SEVERE: java.util.ConcurrentModificationException > at > java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761) > at java.util.LinkedList$ListItr.next(LinkedList.java:696) > at > > org.apache.solr.highlight.SolrHighlighter.getHighlightFields(SolrHighlighter.java:106) > at > > org.apache.solr.highlight.DefaultSolrHighlighter.doHighlighting(DefaultSolrHighlighter.java:369) > at > > org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:131) > at > > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:186) > at > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376) > at > > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:365) > at > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:260) > 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:218) > 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) > > When I searched through the solr issues, I got the following two url's, > > https://issues.apache.org/jira/browse/SOLR-2684 > https://issues.apache.org/jira/browse/SOLR-3790 > > The stack trace given in the second url coincides with the one given above > so I have applied the code change as given in the below link > > http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java?r1=1229401&r2=1231606&diff_format=h > > The first url's stack trace seems to be different. > I have two questions here. 1.) Please tell me why this exception stack > trace > occurs 2.) IS there any other patch/solution available to overcome this > exception. > Please guide me. > > Thanks > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/ConcurrentModificationException-in-Solr-3-6-1-tp4034520.html > Sent from the Solr - User mailing list archive at Nabble.com. >