Hi list,

I am developing a client that writes asynchronously to Fuseki via TrellisLDP
<https://github.com/trellis-ldp/trellis>.  There seems to be an issue since
3.6.0 that throws a BindingTBD error.

The exception is this:

> fuseki     | [2018-03-27 17:02:44] BindingTDB ERROR get1(?parent)
> fuseki     | java.nio.BufferOverflowException
> fuseki     |    at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:214)
> fuseki     |    at sun.nio.ch.IOUtil.read(IOUtil.java:200)


I looked at the code in BindingTBD and reverted the change in JENA-1482:
tests for null NodeIds at the TDB level" to see if a different result would
occur.

Now it throws this exception:

> fuseki     | [2018-03-30 03:39:34] BindingTDB ERROR get1(?object)
> fuseki     | org.apache.jena.tdb.base.file.FileException: In the middle of
> an alloc-write
> fuseki     |    at
> org.apache.jena.tdb.base.objectfile.ObjectFileStorage.read(ObjectFileStorage.java:311)


This looks like a concurrency issue.  I do not know why it works in 3.5.0.
Any ideas?

Thank you for your consideration of this.

Christopher Johnson
Scientific Associate
Universitätsbibliothek Leipzig

Reply via email to