Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET on container fails with large amount of subcontainers #6

Open
GGoetzelmann opened this issue Nov 16, 2023 · 0 comments
Open

GET on container fails with large amount of subcontainers #6

GGoetzelmann opened this issue Nov 16, 2023 · 0 comments

Comments

@GGoetzelmann
Copy link
Contributor

GET request on container returns with an empty payload if it contains several 1000 subcontainers

Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -726 out of bounds for length 4957
	at org.apache.jena.mem.HashedTripleBunch.grow(HashedTripleBunch.java:90)
	at org.apache.jena.mem.HashedTripleBunch.add(HashedTripleBunch.java:78)
	at org.apache.jena.mem.NodeToTriplesMapMem.add(NodeToTriplesMapMem.java:58)
	at org.apache.jena.mem.GraphTripleStoreBase.add(GraphTripleStoreBase.java:60)
	at org.apache.jena.mem.GraphMem.performAdd(GraphMem.java:37)
	at org.apache.jena.graph.impl.GraphBase.add(GraphBase.java:181)
	at org.apache.jena.sparql.core.DatasetGraphCollection.add(DatasetGraphCollection.java:46)
	at org.apache.jena.sparql.core.DatasetGraphBase.add(DatasetGraphBase.java:100)
	at org.apache.jena.sparql.core.GraphView.performAdd(GraphView.java:155)
	at org.apache.jena.graph.impl.GraphBase.add(GraphBase.java:181)
	at org.apache.commons.rdf.jena.impl.JenaGraphImpl.add(JenaGraphImpl.java:61)
	at edu.kit.scc.dem.wapsrv.model.rdf.RdfOutputContainer.lambda$getDataset$0(RdfOutputContainer.java:73)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant