<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CMIS API : When I want to get results by page, a RuntimeException is occured when I try to get the second page  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29856#M12707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see also&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/182469"&gt;Query with skipCount&lt;/A&gt;&amp;nbsp;in case it helps ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately, you could also try similar steps / data in a new test environment with latest Alfresco Community Edition (2017xx) with ACS Repository 5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2017 17:49:32 GMT</pubDate>
    <dc:creator>janv</dc:creator>
    <dc:date>2017-11-24T17:49:32Z</dc:date>
    <item>
      <title>CMIS API : When I want to get results by page, a RuntimeException is occured when I try to get the second page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29851#M12702</link>
      <description>Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Erreur Interne de Servlet at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:487) at org.apache.chemistry.opencmis.client.b</description>
      <pubDate>Thu, 23 Nov 2017 14:30:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29851#M12702</guid>
      <dc:creator>aberchane</dc:creator>
      <dc:date>2017-11-23T14:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS API : When I want to get results by page, a RuntimeException is occured when I try to get the second page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29852#M12703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Log on the server side :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;15:17:58,364 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 10230035 Wrapped Exception (with status template): 1023631544 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js': 1023631543&lt;BR /&gt;org.springframework.extensions.webscripts.WebScriptException: 10230035 Wrapped Exception (with status template): 1023631544 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js': 1023631543&lt;BR /&gt; at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:970)&lt;BR /&gt; at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)&lt;BR /&gt; at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)&lt;BR /&gt; at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)&lt;BR /&gt; at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)&lt;BR /&gt; at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:316)&lt;BR /&gt; at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)&lt;BR /&gt; at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)&lt;BR /&gt; at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)&lt;BR /&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt; at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;BR /&gt; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;BR /&gt; at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)&lt;BR /&gt; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&lt;BR /&gt; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;BR /&gt; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;BR /&gt; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)&lt;BR /&gt; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)&lt;BR /&gt; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)&lt;BR /&gt; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:662)&lt;BR /&gt;Caused by: org.alfresco.scripts.ScriptException: 1023631544 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js': 1023631543&lt;BR /&gt; at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:195)&lt;BR /&gt; at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)&lt;BR /&gt; at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)&lt;BR /&gt; at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)&lt;BR /&gt; at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1193)&lt;BR /&gt; at org.alfresco.repo.cmis.rest.CMISWebScript.executeScript(CMISWebScript.java:46)&lt;BR /&gt; at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)&lt;BR /&gt; ... 25 more&lt;BR /&gt;Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 1023631543&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:368)&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrCMISQueryServiceImpl.query(SolrCMISQueryServiceImpl.java:93)&lt;BR /&gt; at sun.reflect.GeneratedMethodAccessor460.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt; at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;BR /&gt; at $Proxy140.query(Unknown Source)&lt;BR /&gt; at org.alfresco.repo.cmis.rest.CMISScript.query(CMISScript.java:683)&lt;BR /&gt; at sun.reflect.GeneratedMethodAccessor459.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt; at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)&lt;BR /&gt; at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)&lt;BR /&gt; at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)&lt;BR /&gt; at org.mozilla.javascript.gen.c3._c0(file:/ideosante/services/alfresco-4.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js:67)&lt;BR /&gt; at org.mozilla.javascript.gen.c3.call(file:/ideosante/services/alfresco-4.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js)&lt;BR /&gt; at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)&lt;BR /&gt; at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)&lt;BR /&gt; at org.mozilla.javascript.gen.c3.call(file:/ideosante/services/alfresco-4.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js)&lt;BR /&gt; at org.mozilla.javascript.gen.c3.exec(file:/ideosante/services/alfresco-4.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js)&lt;BR /&gt; at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:483)&lt;BR /&gt; at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:191)&lt;BR /&gt; ... 31 more&lt;BR /&gt;Caused by: org.json.JSONException: Expected a ',' or ']' at character 358978&lt;BR /&gt; at org.json.JSONTokener.syntaxError(JSONTokener.java:413)&lt;BR /&gt; at org.json.JSONArray.&amp;lt;init&amp;gt;(JSONArray.java:143)&lt;BR /&gt; at org.json.JSONTokener.nextValue(JSONTokener.java:351)&lt;BR /&gt; at org.json.JSONObject.&amp;lt;init&amp;gt;(JSONObject.java:206)&lt;BR /&gt; at org.json.JSONTokener.nextValue(JSONTokener.java:347)&lt;BR /&gt; at org.json.JSONObject.&amp;lt;init&amp;gt;(JSONObject.java:206)&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:338)&lt;BR /&gt; ... 55 more&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:19:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29852#M12703</guid>
      <dc:creator>aberchane</dc:creator>
      <dc:date>2017-11-23T15:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS API : When I want to get results by page, a RuntimeException is occured when I try to get the second page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29853#M12704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version of the Alfresco Repository ?&lt;/P&gt;&lt;P&gt;Which CMIS client / version?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryServiceImpl.query(DiscoveryServiceImpl.java:145)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #727174; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 1023631543&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;&lt;STRONG style="color: #727174; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Caused by: org.json.JSONException: Expected a ',' or ']' at character 358978&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;&lt;SPAN&gt;Ref:&amp;nbsp;&lt;A class="link-titled" href="http://docs.oasis-open.org/cmis/CMIS/v1.1/errata01/os/CMIS-v1.1-errata01-os-complete.html#x1-3140006" title="http://docs.oasis-open.org/cmis/CMIS/v1.1/errata01/os/CMIS-v1.1-errata01-os-complete.html#x1-3140006" rel="nofollow noopener noreferrer"&gt;Content Management Interoperability Services (CMIS) Version 1.1&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Are you able to provide a screenshot of the same query (and results) using the CMIS workbench ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 16:48:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29853#M12704</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2017-11-24T16:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS API : When I want to get results by page, a RuntimeException is occured when I try to get the second page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29854#M12705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Which version of the Alfresco Repository ?&lt;/EM&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;4.0.d&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Which CMIS client / version?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;alfresco-opencmis-extension :&amp;nbsp; version 0.3&lt;/P&gt;&lt;P&gt;hemistry-opencmis-client-impl : version 0.7.0 or 0.10.0&lt;/P&gt;&lt;P&gt;When The "skip" parameter is not set the query works fine.When is setted ,a runtimeException is throwed even if I use the cmis workbench.&lt;/P&gt;&lt;P&gt;Thank you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abderrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 17:19:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29854#M12705</guid>
      <dc:creator>aberchane</dc:creator>
      <dc:date>2017-11-24T17:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS API : When I want to get results by page, a RuntimeException is occured when I try to get the second page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29855#M12706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a screenshot of the cmis workbench when I set skip=100 :&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/17769_pastedImage_1.png" style="width: 620px; height: 464px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 17:21:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29855#M12706</guid>
      <dc:creator>aberchane</dc:creator>
      <dc:date>2017-11-24T17:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS API : When I want to get results by page, a RuntimeException is occured when I try to get the second page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29856#M12707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see also&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/182469"&gt;Query with skipCount&lt;/A&gt;&amp;nbsp;in case it helps ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately, you could also try similar steps / data in a new test environment with latest Alfresco Community Edition (2017xx) with ACS Repository 5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 17:49:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-api-when-i-want-to-get-results-by-page-a-runtimeexception/m-p/29856#M12707</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2017-11-24T17:49:32Z</dc:date>
    </item>
  </channel>
</rss>

