org.openrdf.query.QueryInterruptedException: Query evaluation took too long at org.openrdf.repository.sail.SailQuery$QueryInterruptIteration.throwInterruptedException(SailQuery.java:85) at info.aduna.iteration.TimeLimitIteration.checkInterrupted(TimeLimitIteration.java:96) at info.aduna.iteration.TimeLimitIteration.hasNext(TimeLimitIteration.java:58) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at com.foo.ManagedQueryResult.hasNext(ManagedQueryResult.java:89) at info.aduna.iteration.ConvertingIteration.hasNext(ConvertingIteration.java:62) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at com.fooMappingDataProvider.populateDataWithQueryResults(MappingDataProvider.java:117) at com.foo.QueryResultDataProviderBase.populateData(QueryResultDataProviderBase.java:85) at com.foo.QueryResultDataProviderBase.checkAttached(QueryResultDataProviderBase.java:152) at com.foo.MappingDataProvider.getVariableNames(MappingDataProvider.java:65) at com.foo.QueryPanelResultTable.updateTable(QueryPanelResultTable.java:230) at com.foo.QueryPanelResultTable.update(QueryPanelResultTable.java:182) at com.foo.QueryPanelComponent$1.onSubmit(QueryPanelComponent.java:178) ... ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: java.lang.AssertionError ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: at org.openrdf.sail.nativerdf.btree.BTree$Node.deregister(BTree.java:1719) ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: at org.openrdf.sail.nativerdf.btree.BTree$RangeIterator.popStacks(BTree.java:2207)

GitHub | jeenbroekstra | 3 months ago
  1. 0

    AssertionError from NativeStore when query times out

    GitHub | 3 months ago | jeenbroekstra
    org.openrdf.query.QueryInterruptedException: Query evaluation took too long at org.openrdf.repository.sail.SailQuery$QueryInterruptIteration.throwInterruptedException(SailQuery.java:85) at info.aduna.iteration.TimeLimitIteration.checkInterrupted(TimeLimitIteration.java:96) at info.aduna.iteration.TimeLimitIteration.hasNext(TimeLimitIteration.java:58) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at com.foo.ManagedQueryResult.hasNext(ManagedQueryResult.java:89) at info.aduna.iteration.ConvertingIteration.hasNext(ConvertingIteration.java:62) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at com.fooMappingDataProvider.populateDataWithQueryResults(MappingDataProvider.java:117) at com.foo.QueryResultDataProviderBase.populateData(QueryResultDataProviderBase.java:85) at com.foo.QueryResultDataProviderBase.checkAttached(QueryResultDataProviderBase.java:152) at com.foo.MappingDataProvider.getVariableNames(MappingDataProvider.java:65) at com.foo.QueryPanelResultTable.updateTable(QueryPanelResultTable.java:230) at com.foo.QueryPanelResultTable.update(QueryPanelResultTable.java:182) at com.foo.QueryPanelComponent$1.onSubmit(QueryPanelComponent.java:178) ... ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: java.lang.AssertionError ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: at org.openrdf.sail.nativerdf.btree.BTree$Node.deregister(BTree.java:1719) ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: at org.openrdf.sail.nativerdf.btree.BTree$RangeIterator.popStacks(BTree.java:2207)

    Root Cause Analysis

    1. org.openrdf.query.QueryInterruptedException

      Query evaluation took too long at org.openrdf.repository.sail.SailQuery$QueryInterruptIteration.throwInterruptedException(SailQuery.java:85) at info.aduna.iteration.TimeLimitIteration.checkInterrupted(TimeLimitIteration.java:96) at info.aduna.iteration.TimeLimitIteration.hasNext(TimeLimitIteration.java:58) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at com.foo.ManagedQueryResult.hasNext(ManagedQueryResult.java:89) at info.aduna.iteration.ConvertingIteration.hasNext(ConvertingIteration.java:62) at org.openrdf.query.impl.TupleQueryResultImpl.hasNext(TupleQueryResultImpl.java:90) at com.fooMappingDataProvider.populateDataWithQueryResults(MappingDataProvider.java:117) at com.foo.QueryResultDataProviderBase.populateData(QueryResultDataProviderBase.java:85) at com.foo.QueryResultDataProviderBase.checkAttached(QueryResultDataProviderBase.java:152) at com.foo.MappingDataProvider.getVariableNames(MappingDataProvider.java:65) at com.foo.QueryPanelResultTable.updateTable(QueryPanelResultTable.java:230) at com.foo.QueryPanelResultTable.update(QueryPanelResultTable.java:182) at com.foo.QueryPanelComponent$1.onSubmit(QueryPanelComponent.java:178) ... ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: java.lang.AssertionError ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: at org.openrdf.sail.nativerdf.btree.BTree$Node.deregister(BTree.java:1719) ERROR 2012-04-24 09:27:58,154 [TimeLimitIteration] STDERR: at org.openrdf.sail.nativerdf.btree.BTree$RangeIterator.popStacks(BTree.java:2207)

      at org.openrdf.sail.nativerdf.btree.BTree$RangeIterator.close()
    2. OpenRDF Sesame: NativeStore
      NativeStatementIterator.handleClose
      1. org.openrdf.sail.nativerdf.btree.BTree$RangeIterator.close(BTree.java:2181)
      2. org.openrdf.sail.nativerdf.NativeStatementIterator.handleClose(NativeStatementIterator.java:83)
      2 frames
    3. OpenRDF Sesame: util
      CloseableIterationBase.close
      1. info.aduna.iteration.CloseableIterationBase.close(CloseableIterationBase.java:50)
      2. info.aduna.iteration.Iterations.closeCloseable(Iterations.java:93)
      3. info.aduna.iteration.ExceptionConvertingIteration.handleClose(ExceptionConvertingIteration.java:139)
      4. info.aduna.iteration.CloseableIterationBase.close(CloseableIterationBase.java:50)
      4 frames
    4. Robolectric
      CachingIteration.close
      1. com.foo.CachingIteration.close(CachingIteration.java:48)
      1 frame
    5. OpenRDF Sesame: util
      IterationWrapper.handleClose
      1. info.aduna.iteration.Iterations.closeCloseable(Iterations.java:93)
      2. info.aduna.iteration.IterationWrapper.handleClose(IterationWrapper.java:101)
      3. info.aduna.iteration.FilterIteration.handleClose(FilterIteration.java:95)
      4. info.aduna.iteration.CloseableIterationBase.close(CloseableIterationBase.java:50)
      5. info.aduna.iteration.Iterations.closeCloseable(Iterations.java:93)
      6. info.aduna.iteration.ConvertingIteration.handleClose(ConvertingIteration.java:106)
      7. info.aduna.iteration.CloseableIterationBase.close(CloseableIterationBase.java:50)
      8. info.aduna.iteration.Iterations.closeCloseable(Iterations.java:93)
      9. info.aduna.iteration.ConvertingIteration.handleClose(ConvertingIteration.java:106)
      10. info.aduna.iteration.CloseableIterationBase.close(CloseableIterationBase.java:50)
      11. info.aduna.iteration.Iterations.closeCloseable(Iterations.java:93)
      12. info.aduna.iteration.IterationWrapper.handleClose(IterationWrapper.java:101)
      12 frames
    6. OpenRDF Sesame: Sail API
      SailBaseIteration.handleClose
      1. org.openrdf.sail.helpers.SailBaseIteration.handleClose(SailBaseIteration.java:64)
      1 frame
    7. OpenRDF Sesame: util
      CloseableIterationBase.close
      1. info.aduna.iteration.CloseableIterationBase.close(CloseableIterationBase.java:50)
      2. info.aduna.iteration.Iterations.closeCloseable(Iterations.java:93)
      3. info.aduna.iteration.IterationWrapper.handleClose(IterationWrapper.java:101)
      4. info.aduna.iteration.TimeLimitIteration.handleClose(TimeLimitIteration.java:89)
      5. info.aduna.iteration.CloseableIterationBase.close(CloseableIterationBase.java:50)
      5 frames