ArrayIndexOutOfBoundsException error after crawling

Suggestions, questions oder problems with regain

Moderator: thtesche

ArrayIndexOutOfBoundsException error after crawling

Postby seriousrems » Tue Dec 13, 2016 3:17 pm


We are using regain and really like it but since a couple of times we encountered this error, it happens just after crawling :

14:15:35: ... Finished crawling

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
at org.apache.lucene.util.UnicodeUtil.UTF16toUTF8(
at org.apache.lucene.index.FieldsWriter.writeField(
at org.apache.lucene.index.StoredFieldsWriterPerThread.addField(
at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(
at org.apache.lucene.index.DocumentsWriter.updateDocument(
at org.apache.lucene.index.IndexWriter.addDocument(
at org.apache.lucene.index.IndexWriter.addDocument(
at net.sf.regain.crawler.IndexWriterManager.createNewIndexEntry(
at net.sf.regain.crawler.IndexWriterManager.addToIndex(
at net.sf.regain.crawler.Main.main("

I have modified file to have highest log level but we don't obtain more information with this error.

Has somebody already have this error and know from where it comes ?


Posts: 1
Joined: Tue Dec 13, 2016 3:05 pm

Re: ArrayIndexOutOfBoundsException error after crawling

Postby mattbk » Fri Aug 25, 2017 6:18 pm

I am having the same error when crawling lots of files (50,000+). How many are you crawling?
Posts: 2
Joined: Fri Aug 25, 2017 3:00 pm

Return to regain

Who is online

Users browsing this forum: No registered users and 1 guest