Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-434

IndexOutOfBoundsException in Node#getChild()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: B+Tree

      Description

      An IndexOutOfBoundsException has been reported for the WORM journal. The exception is thrown out of Node#getChild() during customer application update protocol.

      java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: index=16, nkeys=15
                  at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1472) [bigdata-0.83.2.jar:na]
                  at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator._hasNext(BlockingBuffer.java:1649) [bigdata-0.83.2.jar:na]
                  at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.hasNext(BlockingBuffer.java:1512) [bigdata-0.83.2.jar:na]
                  at com.bigdata.striterator.AbstractChunkedResolverator.hasNext(AbstractChunkedResolverator.java:285) [bigdata-0.83.2.jar:na]
                  at com.bigdata.rdf.sail.Bigdata2SesameIteration.hasNext(Bigdata2SesameIteration.java:68) [bigdata-0.83.2.jar:na]
                  at info.aduna.iteration.ExceptionConvertingIteration.hasNext(ExceptionConvertingIteration.java:67) [openrdf-sesame-onejar-2.3.0.jar:na]
                  at org.openrdf.repository.RepositoryResult.hasNext(RepositoryResult.java:55) [openrdf-sesame-onejar-2.3.0.jar:na]
                  ...
                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [na:1.6.0_23]
                  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_23]
                  at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_23]
                  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_23]
                  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [na:1.6.0_23]
                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_23]
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_23]
                  at java.lang.Thread.run(Thread.java:662) [na:1.6.0_23]
      Caused by: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: index=16, nkeys=15
                  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) [na:1.6.0_23]
                  at java.util.concurrent.FutureTask.get(FutureTask.java:83) [na:1.6.0_23]
                  at com.bigdata.relation.accesspath.BlockingBuffer$BlockingIterator.checkFuture(BlockingBuffer.java:1425) [bigdata-0.83.2.jar:na]
                  ... 25 common frames omitted
      Caused by: java.lang.IndexOutOfBoundsException: index=16, nkeys=15
                  at com.bigdata.btree.Node.getChild(Node.java:2549) [bigdata-0.83.2.jar:na]
                  at com.bigdata.btree.Node.lookup(Node.java:928) [bigdata-0.83.2.jar:na]
                  at com.bigdata.btree.Node.lookup(Node.java:930) [bigdata-0.83.2.jar:na]
                  at com.bigdata.btree.AbstractBTree.lookup(AbstractBTree.java:2301) [bigdata-0.83.2.jar:na]
                  at com.bigdata.btree.AbstractBTree.lookup(AbstractBTree.java:2229) [bigdata-0.83.2.jar:na]
                  at com.bigdata.btree.proc.BatchLookup.apply(BatchLookup.java:125) [bigdata-0.83.2.jar:na]
                  at com.bigdata.btree.UnisolatedReadWriteIndex.submit(UnisolatedReadWriteIndex.java:796) [bigdata-0.83.2.jar:na]
                  at com.bigdata.rdf.lexicon.LexiconRelation$ResolveTermTask.call(LexiconRelation.java:1847) [bigdata-0.83.2.jar:na]
                  at com.bigdata.rdf.lexicon.LexiconRelation.getTerms(LexiconRelation.java:1706) [bigdata-0.83.2.jar:na]
                  at com.bigdata.rdf.store.BigdataStatementIteratorImpl.resolveChunk(BigdataStatementIteratorImpl.java:163) [bigdata-0.83.2.jar:na]
                  at com.bigdata.rdf.store.BigdataStatementIteratorImpl.resolveChunk(BigdataStatementIteratorImpl.java:32) [bigdata-0.83.2.jar:na]
                  at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:218) [bigdata-0.83.2.jar:na]
                  at com.bigdata.striterator.AbstractChunkedResolverator$ChunkConsumerTask.call(AbstractChunkedResolverator.java:190) [bigdata-0.83.2.jar:na]
                  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_23]
                  at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_23]
                  ... 3 common frames omitted
      

        Attachments

          Activity

            People

            Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: