lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] [Created] (LUCENE-4974) CommitIndexTask is broken if no params are set
Date Thu, 02 May 2013 05:08:16 GMT
Shai Erera created LUCENE-4974:

             Summary: CommitIndexTask is broken if no params are set
                 Key: LUCENE-4974
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/benchmark
            Reporter: Shai Erera
            Assignee: Shai Erera

If you put a CommitIndex in a benchmark algorithm with no params, you get NPE from IW.setCommitData,
because you are not allowed to pass null. It's a trivial fix - CommitIndexTask should call
setCommitData only if commitData is not null.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message