ebremer opened a new issue, #1646:
URL: https://github.com/apache/jena/issues/1646

   ### Version
   
   4.6.1
   
   ### What happened?
   
   Iterating through the results of a SPARQL query on a in-memory graph of 
1,051,850 triples using:
   
   ResultSet rs = qe.execSelect();
   rs.forEachRemaining(qs->{
      * do the business *
   });
   
   
   
   ### Relevant output and stacktrace
   
   ```shell
   Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 
952182 out of bounds for length 635413
        at org.apache.jena.mem.HashCommon.findSlot(HashCommon.java:164)
        at org.apache.jena.mem.HashedBunchMap.get(HashedBunchMap.java:59)
        at 
org.apache.jena.mem.NodeToTriplesMapMem.iterator(NodeToTriplesMapMem.java:129)
        at 
org.apache.jena.mem.GraphTripleStoreBase.find(GraphTripleStoreBase.java:161)
        at org.apache.jena.mem.GraphMem.graphBaseFind(GraphMem.java:55)
        at org.apache.jena.graph.impl.GraphBase.find(GraphBase.java:229)
        at 
org.apache.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:243)
        at org.apache.jena.graph.impl.GraphBase.find(GraphBase.java:240)
        at 
org.apache.jena.sparql.engine.main.solver.StageMatchTriple.accessTriple(StageMatchTriple.java:60)
        at 
org.apache.jena.sparql.engine.main.solver.StageMatchTriple.lambda$accessTriple$0(StageMatchTriple.java:48)
        at 
org.apache.jena.atlas.iterator.IteratorFlatMap.hasNext(IteratorFlatMap.java:57)
        at 
org.apache.jena.sparql.engine.iterator.IterAbortable.hasNext(IterAbortable.java:59)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterPlainWrapper.hasNextBinding(QueryIterPlainWrapper.java:59)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:116)
        at 
org.apache.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding(QueryIterConvert.java:58)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:116)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:38)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:116)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:38)
        at 
org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:116)
        at 
org.apache.jena.sparql.exec.RowSetStream.hasNext(RowSetStream.java:47)
        at 
org.apache.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:81)
        at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)
   ```
   
   
   ### Are you interested in making a pull request?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to