Stardog query fails with error on console but works with stardog frontend

2 views
Skip to first unread message

mayurb...@gmail.com

unread,
Dec 19, 2016, 6:55:13 AM12/19/16
to Stardog
Hello,
I am running a query which  works fine when running on Stardog admin console UI, but when the same query is run through command it fails with ArrayIndexOutOfBounds exception.
Any idea what could be the possible issue ?

Thanks you,
Mayur

Zachary Whitley

unread,
Dec 19, 2016, 7:08:36 AM12/19/16
to sta...@clarkparsia.com
Can you send the output from stardog.log and the version you're running?
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
---
You received this message because you are subscribed to the Google Groups "Stardog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.

mayurb...@gmail.com

unread,
Dec 20, 2016, 12:09:12 AM12/20/16
to Stardog
Hi,

This is the error observed in the logs. Surprisingly when I restarted the server the error vanished and query also worked fine.
Any thoughts what could be the possible reason and how to avoid such situations.


ERROR
2016-12-19 11:32:57,301 [StardogServer.WorkerGroup-13] com.complexible.stardog.protocols.http.server.HttpMessageEncoder:write(161): There was an error while encoding the response
com
.complexible.common.protocols.EncodingException: java.lang.ArrayIndexOutOfBoundsException
    at com
.complexible.stardog.protocols.http.server.io.ResponseBodyEncoders$13.encode(ResponseBodyEncoders.java:471) ~[stardog-protocols-http-server-4.1.1.jar:?]
    at com
.complexible.stardog.protocols.http.server.io.ResponseBodyEncoders$2.encode(ResponseBodyEncoders.java:99) ~[stardog-protocols-http-server-4.1.1.jar:?]
    at com
.complexible.stardog.protocols.http.server.HttpMessageEncoder$SingletonMessageResponseBodyEncoder.encode(HttpMessageEncoder.java:510) ~[stardog-protocols-http-server-4.1.1.jar:?]
    at com
.complexible.stardog.protocols.http.server.HttpMessageEncoder.write(HttpMessageEncoder.java:158) [stardog-protocols-http-server-4.1.1.jar:?]
    at io
.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633) [netty-all-4.0.32.Final.jar:4.0.32.Final]
    at io
.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:32) [netty-all-4.0.32.Final.jar:4.0.32.Final]
    at io
.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:908) [netty-all-4.0.32.Final.jar:4.0.32.Final]
    at io
.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:893) [netty-all-4.0.32.Final.jar:4.0.32.Final]
    at io
.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358) [netty-all-4.0.32.Final.jar:4.0.32.Final]
    at io
.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) [netty-all-4.0.32.Final.jar:4.0.32.Final]
    at io
.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [netty-all-4.0.32.Final.jar:4.0.32.Final]
    at java
.lang.Thread.run(Thread.java:745) [?:1.8.0_77]

Thank you,
Mayur
Reply all
Reply to author
Forward
0 new messages