[
https://issues.jboss.org/browse/ISPN-498?page=com.atlassian.jira.plugin.s...
]
Galder Zamarreño updated ISPN-498:
----------------------------------
Fix Version/s: 4.1.0.Final
(was: 5.0.0.BETA1)
Affects Version/s: (was: 4.1.0.BETA1)
(was: 4.1.0.ALPHA1)
(was: 4.1.0.ALPHA2)
(was: 4.1.0.ALPHA3)
Description:
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)
was:
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)
Lucene Directory race condition on segments iterator has NPE thrown
by Lucene index opening
-------------------------------------------------------------------------------------------
Key: ISPN-498
URL:
https://issues.jboss.org/browse/ISPN-498
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 4.0.0.Final, 4.1.0.BETA2
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.1.0.CR1, 4.1.0.Final
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.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira