Describe Request : LongHashSet can't handle long element which equal to 0

For my project i've built an html/js page for show a graph with individual from my stardog database. A java server is between the html/js page and the stardog for write sparql request, execute them and then convert the result for the graph.

I use pragma describe.strategy bidirectional for my requests.
Example : DESCRIBE http://medicis.univ-rennes1.fr/ontologies/ontospm/OntoMEDIRAD.owl#Patient_f4df4492-4e04-42f2-a20f-a3208d4021cc

In some cases i have an error : org.openrdf.query.QueryEvaluationException: LongHashSet can't handle long element which equal to 0

The project and the code are here :
https://github.com/MediCIS/semanticTransaltor

The datas used for test : https://drive.google.com/file/d/10EHWVmaNmp13cCDmh_Oms6zqwxOoT2lT/view?usp=sharing

The requests used are here : https://docs.google.com/spreadsheets/d/1wuYIV8zQoYTCmX3v--XlimPsQWPo4vHi6JZZH91ckKc/edit?usp=sharing

(all of them have no errors when i use the stardog web admin page

My stardog is stil Stardog 5.3.1

Thanks you

The full error (from java logs) :

208393 [http-nio-8090-exec-3] ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.complexible.stardog.StardogException: LongHashSet can't handle long element which equal to 0] with root cause
org.openrdf.query.QueryEvaluationException: LongHashSet can't handle long element which equal to 0
at com.complexible.stardog.protocols.http.client.BaseHttpClient.checkResponseCode(BaseHttpClient.java:491)
at com.complexible.stardog.protocols.http.client.BaseHttpClient.execute(BaseHttpClient.java:363)
at com.complexible.stardog.protocols.http.client.HttpClientImpl.graph(HttpClientImpl.java:292)
at com.complexible.stardog.protocols.http.client.HttpConnection._graph(HttpConnection.java:158)
at com.complexible.stardog.api.impl.AbstractConnection.executeGraph(AbstractConnection.java:450)
at com.complexible.stardog.api.impl.GraphQueryImpl.execute(GraphQueryImpl.java:33)
at com.complexible.stardog.api.impl.GraphQueryImpl.execute(GraphQueryImpl.java:23)
at repository.RequestBuilder.describeRequest(RequestBuilder.java:383)
at repository.RequestBuilder.testClicGraph(RequestBuilder.java:300)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:870)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:776)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:870)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:855)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)

Thanks for the report. This is indeed a bug which we fixed in the 6.2.3 release. Are you able to upgrade to the latest Stardog?

Best,
Pavel

I can do it for test but it will need to update all others peoples

Thanks you