This bug can be seen when executing a sparql-update request that attempts to delete a property several times.
The request hangs until an OOM exception is thrown.
The solution to this issue should be to return a 400 Bad Request.
To demonstrate the error:
- Create a resource, "test".
> curl -i -XPUT localhost:8080/rest/test
- Add properties to the new resource
> curl -i -XPATCH -H"Content-Type: application/sparql-update" --data-binary @rdf_insert.txt localhost:8080/rest/test
- Attempt to delete resources
> curl -i -XPATCH -H"Content-Type: application/sparql-update" --data-binary @rdf_delete_duplicates.txt localhost:8080/rest/test
- Notice request hangs
See attached "rdf_insert.txt" and "rdf_delete_one_multiple_one_non_existing.txt"