]
Sanne Grinovero resolved ISPN-498.
----------------------------------
Resolution: Done
Lucene Directory race condition on segments iterator has NPE thrown
by Lucene index opening
-------------------------------------------------------------------------------------------
Key: ISPN-498
URL:
https://jira.jboss.org/browse/ISPN-498
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 4.0.0.Final, 4.1.0.ALPHA1, 4.1.0.ALPHA2, 4.1.0.ALPHA3, 4.1.0.BETA1,
4.1.0.BETA2
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.1.0.CR1, 5.0.0.BETA1
Set<String> filesList = getFileList();
return filesList.toArray(new String[filesList.size()]);
is wrong as the size() allocates an array of a size which is potentially bigger than the
number of Strings it's going to contain, populating some null values in the resulting
array (which angers Lucene quite a lot)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: