lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Created] (SOLR-2695) DIH's TestThreaded sometimes fails
Date Wed, 03 Aug 2011 18:15:26 GMT
DIH's TestThreaded sometimes fails

                 Key: SOLR-2695
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
            Reporter: Michael McCandless

{{ant test -Dtestcase=TestThreaded -Dtestmethod=testCompositePk_FullImport -Dtests.seed=-1937805576288697697:-9126472343809792878}}
sometimes hits this:


    [junit] 3-aug-2011 15:11:57 org.apache.solr.handler.dataimport.DocBuilder doFullDump
    [junit] SEVERE: error in import
    [junit] java.lang.ArrayIndexOutOfBoundsException: 1
    [junit] 	at java.util.ArrayList.add(
    [junit] 	at org.apache.solr.handler.dataimport.DocBuilder$EntityRunner.runAThread(
    [junit] 	at org.apache.solr.handler.dataimport.DocBuilder$EntityRunner.access$000(
    [junit] 	at org.apache.solr.handler.dataimport.DocBuilder$EntityRunner$
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$
    [junit] 	at
    [junit] 3-aug-2011 15:11:57 org.apache.solr.SolrTestCaseJ4 assertQ


I think it's a thread safety bug in the debug code (an ArrayList is add'd w/o sync) only if

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message