I just ran index-lucene-init and it completed successfully, but when I
try to run
index-lucene-update, it blows up at where I have (****):
*/
public static void cleanIndex(Context context) throws IOException,
SQLException {
IndexReader reader = DSQuery.getIndexReader();
Bits liveDocs = MultiFields.getLiveDocs(reader);
for(int i = 0 ; i < reader.numDocs(); i++)
{
(****) if (!liveDocs.get(i))
The error I'm getting is
Exception: null
java.lang.NullPointerException
at org.dspace.search.DSIndexer.cleanIndex(DSIndexer.java:616)
I know reader is not null, but liveDocs must be, but why?
-Jose
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette