Error

message:

eionet.cr.dao.DAOException: org.openrdf.query.QueryEvaluationException: : SPARQL execute failed:[select distinct ?s from ?sourceUrl where {?s ?p ?o filter(!isBlank(?s)) optional {?s ?sortPredicate ?ord} } ORDER BY asc(bif:lcase(bif:either(bif:isnull(?ord), (bif:subseq (bif:replace (?s, '/', '#'), bif:strrchr (bif:replace (?s, '/', '#'), '#')+1)), ?ord))) limit 15 offset 16695] Exception:virtuoso.jdbc4.VirtuosoException: SR353: Sorted TOP clause specifies more then 16710 rows to sort. Only 10000 are allowed. Either decrease the offset and/or row count or use a scrollable cursor

stack trace:

eionet.cr.dao.DAOException: org.openrdf.query.QueryEvaluationException: : SPARQL execute failed:[select distinct ?s from ?sourceUrl where {?s ?p ?o filter(!isBlank(?s)) optional {?s ?sortPredicate ?ord} } ORDER BY asc(bif:lcase(bif:either(bif:isnull(?ord), (bif:subseq (bif:replace (?s, '/', '#'), bif:strrchr (bif:replace (?s, '/', '#'), '#')+1)), ?ord))) limit 15 offset 16695]
Exception:virtuoso.jdbc4.VirtuosoException: SR353: Sorted TOP clause specifies more then 16710 rows to sort. Only 10000 are allowed. Either decrease the offset and/or row count or use a scrollable cursor
      at eionet.cr.dao.virtuoso.VirtuosoBaseDAO.executeSPARQL(VirtuosoBaseDAO.java:104)
      at eionet.cr.dao.virtuoso.VirtuosoSearchDAO.searchBySource(VirtuosoSearchDAO.java:584)
      at eionet.cr.web.action.factsheet.ObjectsInSourceActionBean.search(ObjectsInSourceActionBean.java:76)
      at sun.reflect.GeneratedMethodAccessor380.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelper.java:467)
      at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
      at eionet.cr.web.interceptor.ActionEventInterceptor.intercept(ActionEventInterceptor.java:92)
      at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
      at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
      at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
      at net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(DispatcherHelper.java:465)
      at net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(DispatcherServlet.java:278)
      at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:160)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
Caused by: org.openrdf.query.QueryEvaluationException: : SPARQL execute failed:[select distinct ?s from ?sourceUrl where {?s ?p ?o filter(!isBlank(?s)) optional {?s ?sortPredicate ?ord} } ORDER BY asc(bif:lcase(bif:either(bif:isnull(?ord), (bif:subseq (bif:replace (?s, '/', '#'), bif:strrchr (bif:replace (?s, '/', '#'), '#')+1)), ?ord))) limit 15 offset 16695]
Exception:virtuoso.jdbc4.VirtuosoException: SR353: Sorted TOP clause specifies more then 16710 rows to sort. Only 10000 are allowed. Either decrease the offset and/or row count or use a scrollable cursor
      at virtuoso.sesame2.driver.VirtuosoRepositoryConnection.executeSPARQLForTupleResult(Unknown Source)
      at virtuoso.sesame2.driver.VirtuosoRepositoryConnection$1.evaluate(Unknown Source)
      at eionet.cr.util.sesame.SesameUtil.executeQuery(SesameUtil.java:132)
      at eionet.cr.util.sesame.SesameUtil.executeQuery(SesameUtil.java:101)
      at eionet.cr.dao.virtuoso.VirtuosoBaseDAO.executeSPARQL(VirtuosoBaseDAO.java:101)
      ... 41 more