[ https://issues.apache.org/jira/browse/SOLR-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-800: ---------------------------- Attachment: SOLR-800.patch The XPathrecordReader makes a copy of each row before handing it over to the consumer. if a field is a multivalued field (a collection) then the copying is a shallow one. So the colection may get modified later and we get a ConcurrrentModificationException > concurrentmodification exception for XPathEntityprocessor while streaming > ------------------------------------------------------------------------- > > Key: SOLR-800 > URL: https://issues.apache.org/jira/browse/SOLR-800 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 1.3 > Reporter: Noble Paul > Fix For: 1.3.1, 1.4 > > Attachments: SOLR-800.patch > > > While doing an import for an XPathEntityprocessor with stream="true" > The stacktrace > java.util.ConcurrentModificationException > > atjava.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) > at java.util.AbstractList$Itr.next(AbstractList.java:343) > at > org.apache.solr.handler.dataimport.DocBuilder.addFieldValue(DocBuilder.java:402) > at > org.apache.solr.handler.dataimport.DocBuilder.addFields(DocBuilder.java:373) > at > org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:304) > at > org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:178) > at > org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:136) > at > org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:334) > at > org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:386) > at > org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:377) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.