Uploaded image for project: 'Zoie'
  1. ZOIE-111

proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 is abruptly terminated java.lang.ArrayIndexOutOfBoundsException: -1

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      windows 7 64 bit operating systems

      Description

      I am using the bobo api. zoie-2.0.0 jar is bundled with this. I am getting folowing exception

      6 Jan 2013 12:28:40,902 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.internal.LuceneIndexDataLoader - Problem copying segments: Cannot overwrite: C:\D-Drive\ProfilerNewJourney\releases\ab\FacetIndexFinal\event_0.fdt
      java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\event_0.fdt
      at org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362)
      at org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58)
      at org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61)
      at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334)
      at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153)
      at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045)
      at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630)
      at org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809)
      at org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718)
      at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:229)
      at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153)
      at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134)
      at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171)
      at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373)
      26 Jan 2013 12:28:40,903 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader - java.io.IOException: Cannot overwrite: C:\D-Drive\ProfilerNewJourney\releases\AbbottRegulatory\FacetIndexFinal\event_0.fdt
      proj.zoie.api.ZoieException: java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\FacetIndexFinal\event_0.fdt
      at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:164)
      at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134)
      at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171)
      at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373)
      Caused by: java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\FacetIndexFinal\event_0.fdt
      at org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362)
      at org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58)
      at org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61)
      at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334)
      at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153)
      at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045)
      at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630)
      at org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809)
      at org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718)
      at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:229)
      at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153)
      ... 3 more
      26 Jan 2013 12:28:40,944 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.IndexingThread - proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 is abruptly terminated
      java.lang.ArrayIndexOutOfBoundsException: -1
      at org.apache.lucene.index.DirectoryReader.doDelete(DirectoryReader.java:523)
      at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:1162)
      at proj.zoie.impl.indexing.internal.BaseSearchIndex.deleteDocs(BaseSearchIndex.java:193)
      at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:223)
      at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153)
      at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134)
      at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171)
      at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373)

        Attachments

          Activity

            People

            • Assignee:
              jwang John Wang
              Reporter:
              brijraj_jhala brij
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: