The exception appears to be wrapping a Jetty error
(org.eclipse.jetty.EofException)

That kind of exception occurs because of something in the web server
layer, an EofException implies that the connection with the client was
closed.

This is most likely because the client closed it, is there some kind of
timeout in effect on the client side that causes the request to get
aborted?

Also what does the client actually do with the response?  If it doesn't
consume the whole response and closes the connection early that would be
another possible explanation (for large responses the server could still
be streaming it to the client when the client has done enough to decide it
doesn't want any further data and closes the connection)

Rob

On 07/10/2015 16:35, "Zen 98052" <[email protected]> wrote:

>I tweaked a SPARQL query (it worked fine earlier) and now I got this
>exception on server side. Is it because the result set is too big? Is
>there a workaround?
>
>
>[ERROR] 2015-10-07 11:27:34,561 org.foobar.service.GraphQueryHttpServlet
>executeQueryAndWriteResponse - org.apache.jena.atlas.RuntimeIOException:
>org.eclipse.jetty.io.EofException
>    at org.apache.jena.atlas.io.IO.exception(IO.java:222)
>    at 
>org.apache.jena.atlas.io.BufferingWriter.flushBuffer(BufferingWriter.java:
>136)
>    at 
>org.apache.jena.atlas.io.BufferingWriter.output(BufferingWriter.java:129)
>    at 
>org.apache.jena.atlas.io.BufferingWriter.write(BufferingWriter.java:178)
>    at 
>org.apache.jena.atlas.io.IndentedWriter.write$(IndentedWriter.java:171)
>    at 
>org.apache.jena.atlas.io.IndentedWriter.printOneChar(IndentedWriter.java:1
>66)
>    at 
>org.apache.jena.atlas.io.IndentedWriter.print(IndentedWriter.java:104)
>    at 
>com.hp.hpl.jena.sparql.resultset.JSONOutputResultSet.printResource(JSONOut
>putResultSet.java:240)
>    at 
>com.hp.hpl.jena.sparql.resultset.JSONOutputResultSet.binding(JSONOutputRes
>ultSet.java:171)
>    at 
>com.hp.hpl.jena.sparql.resultset.ResultSetApply.apply(ResultSetApply.java:
>49)
>    at 
>com.hp.hpl.jena.sparql.resultset.JSONOutput.format(JSONOutput.java:36)
>    at 
>com.hp.hpl.jena.query.ResultSetFormatter.outputAsJSON(ResultSetFormatter.j
>ava:560)
>    ...
>
>
>Thanks,
>
>Z




Reply via email to