jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-3162) ArrayIndexOutOfBoundsException in Lucene indexer at time of index close
Date Wed, 29 Jul 2015 13:37:04 GMT

     [ https://issues.apache.org/jira/browse/OAK-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vikas Saurabh updated OAK-3162:
-------------------------------
    Description: 
In our local environment using 1.0.16, we are seeing following exception constantly.
{noformat}
28.07.2015 03:19:25.517 *ERROR* [pool-6-thread-3] org.apache.sling.commons.scheduler.impl.QuartzScheduler
Exception during job execution of org.apache.j
ackrabbit.oak.plugins.index.AsyncIndexUpdate@1c7ba9ed : 1713
java.lang.ArrayIndexOutOfBoundsException: 1713
        at org.apache.lucene.codecs.lucene40.BitVector.get(BitVector.java:147)
        at org.apache.lucene.index.MergeState$DocMap.build(MergeState.java:76)
        at org.apache.lucene.index.MergeState$DocMap.build(MergeState.java:67)
        at org.apache.lucene.index.SegmentMerger.setDocMaps(SegmentMerger.java:352)
        at org.apache.lucene.index.SegmentMerger.<init>(SegmentMerger.java:64)
        at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4132)
        at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3743)
        at org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:40)
        at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:1941)
        at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3124)
        at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:988)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:932)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:894)
        at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorContext.closeWriter(LuceneIndexEditorContext.java:159)
        at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor.leave(LuceneIndexEditor.java:186)
        at org.apache.jackrabbit.oak.plugins.index.IndexUpdate.leave(IndexUpdate.java:219)
        at org.apache.jackrabbit.oak.spi.commit.VisibleEditor.leave(VisibleEditor.java:63)
        at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:56)
        at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.updateIndex(AsyncIndexUpdate.java:366)
        at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.run(AsyncIndexUpdate.java:311)
        at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:105)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
{noformat}

(cc [~chetanm])

  was:
In our local environment using 1.0.16, we are seeing following exception constantly. Along
with that, logs also are showing "Reindexing will be performed...." message over and over
{noformat}
28.07.2015 03:19:25.517 *ERROR* [pool-6-thread-3] org.apache.sling.commons.scheduler.impl.QuartzScheduler
Exception during job execution of org.apache.j
ackrabbit.oak.plugins.index.AsyncIndexUpdate@1c7ba9ed : 1713
java.lang.ArrayIndexOutOfBoundsException: 1713
        at org.apache.lucene.codecs.lucene40.BitVector.get(BitVector.java:147)
        at org.apache.lucene.index.MergeState$DocMap.build(MergeState.java:76)
        at org.apache.lucene.index.MergeState$DocMap.build(MergeState.java:67)
        at org.apache.lucene.index.SegmentMerger.setDocMaps(SegmentMerger.java:352)
        at org.apache.lucene.index.SegmentMerger.<init>(SegmentMerger.java:64)
        at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4132)
        at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3743)
        at org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:40)
        at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:1941)
        at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3124)
        at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:988)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:932)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:894)
        at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorContext.closeWriter(LuceneIndexEditorContext.java:159)
        at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor.leave(LuceneIndexEditor.java:186)
        at org.apache.jackrabbit.oak.plugins.index.IndexUpdate.leave(IndexUpdate.java:219)
        at org.apache.jackrabbit.oak.spi.commit.VisibleEditor.leave(VisibleEditor.java:63)
        at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:56)
        at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.updateIndex(AsyncIndexUpdate.java:366)
        at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.run(AsyncIndexUpdate.java:311)
        at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:105)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
{noformat}

(cc [~chetanm])


> ArrayIndexOutOfBoundsException in Lucene indexer at time of index close
> -----------------------------------------------------------------------
>
>                 Key: OAK-3162
>                 URL: https://issues.apache.org/jira/browse/OAK-3162
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>         Environment: OAK-1.0.16
>            Reporter: Vikas Saurabh
>
> In our local environment using 1.0.16, we are seeing following exception constantly.
> {noformat}
> 28.07.2015 03:19:25.517 *ERROR* [pool-6-thread-3] org.apache.sling.commons.scheduler.impl.QuartzScheduler
Exception during job execution of org.apache.j
> ackrabbit.oak.plugins.index.AsyncIndexUpdate@1c7ba9ed : 1713
> java.lang.ArrayIndexOutOfBoundsException: 1713
>         at org.apache.lucene.codecs.lucene40.BitVector.get(BitVector.java:147)
>         at org.apache.lucene.index.MergeState$DocMap.build(MergeState.java:76)
>         at org.apache.lucene.index.MergeState$DocMap.build(MergeState.java:67)
>         at org.apache.lucene.index.SegmentMerger.setDocMaps(SegmentMerger.java:352)
>         at org.apache.lucene.index.SegmentMerger.<init>(SegmentMerger.java:64)
>         at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4132)
>         at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3743)
>         at org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:40)
>         at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:1941)
>         at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3124)
>         at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:988)
>         at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:932)
>         at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:894)
>         at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorContext.closeWriter(LuceneIndexEditorContext.java:159)
>         at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor.leave(LuceneIndexEditor.java:186)
>         at org.apache.jackrabbit.oak.plugins.index.IndexUpdate.leave(IndexUpdate.java:219)
>         at org.apache.jackrabbit.oak.spi.commit.VisibleEditor.leave(VisibleEditor.java:63)
>         at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:56)
>         at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.updateIndex(AsyncIndexUpdate.java:366)
>         at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.run(AsyncIndexUpdate.java:311)
>         at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:105)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> {noformat}
> (cc [~chetanm])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message