AnsweredAssumed Answered

REST get working copies

Question asked by erictice on Jun 9, 2009
I received a exception trying to get the properties of a working copy:


The Web Script /alfresco/service/api/pwc/workspace/SpacesStore/9b6020bb-aca1-4e79-8cc9-0652819be49a has responded with a status of 500 - Internal Error.

500 Description:   An error inside the HTTP server which prevented it from fulfilling the request.

Message:   Wrapped Exception (with status template): IO Error during processing of the template 'org/alfresco/repository/store/pwc.get.atomentry.ftl'. Please contact your system administrator.
   
Exception:   freemarker.core.ParseException - Encountered "/]" at line 9, column 39 in org/alfresco/repository/store/pwc.get.atomentry.ftl. Was expecting one of: <STRING_LITERAL> … <RAW_STRING> … "false" … "true" … <INTEGER> … <DECIMAL> … "." … "+" … "-" … "!" … "," … "[" … "]" … "(" … "{" … <ID> … "?" … <TERMINATING_EXCLAM> … "??" … "*" … "/" … "%" … "!=" … "=" … "==" … ">=" … <ESCAPED_GTE> … ">" … <ESCAPED_GT> … <LESS_THAN_EQUALS> … <LESS_THAN> … ".." … <AND> … <OR> …
   
   freemarker.core.FMParser.generateParseException(FMParser.java:4697)
   freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
   freemarker.core.FMParser.ListLiteral(FMParser.java:634)
   freemarker.core.FMParser.PrimaryExpression(FMParser.java:250)
   freemarker.core.FMParser.UnaryExpression(FMParser.java:319)
   freemarker.core.FMParser.MultiplicativeExpression(FMParser.java:435)
   freemarker.core.FMParser.AdditiveExpression(FMParser.java:385)
   freemarker.core.FMParser.RangeExpression(FMParser.java:556)
   freemarker.core.FMParser.RelationalExpression(FMParser.java:511)
   freemarker.core.FMParser.EqualityExpression(FMParser.java:494)
   freemarker.core.FMParser.AndExpression(FMParser.java:585)
   freemarker.core.FMParser.OrExpression(FMParser.java:608)
   freemarker.core.FMParser.Expression(FMParser.java:221)
   freemarker.core.FMParser.PositionalArgs(FMParser.java:2116)
   freemarker.core.FMParser.UnifiedMacroTransform(FMParser.java:1906)
   freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2399)
   freemarker.core.FMParser.Content(FMParser.java:2618)
   freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
   freemarker.core.FMParser.Compress(FMParser.java:1875)
   freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2396)
   freemarker.core.FMParser.Content(FMParser.java:2618)
   freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
   freemarker.core.FMParser.Root(FMParser.java:2958)
   freemarker.template.Template.(Template.java:149)
   freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:448)
   freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:361)
   freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235)
   freemarker.template.Configuration.getTemplate(Configuration.java:487)
   freemarker.template.Configuration.getTemplate(Configuration.java:452)
   org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:194)
   org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:505)
   org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)
   org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
   org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:319)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
   org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:368)
   org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:390)
   org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:273)
   org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:261)
   org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
   org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   java.lang.Thread.run(Thread.java:637)
   
Exception:   org.alfresco.service.cmr.repository.TemplateException - IO Error during processing of the template 'org/alfresco/repository/store/pwc.get.atomentry.ftl'. Please contact your system administrator.
   
   org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:221)
   
Exception:   org.alfresco.web.scripts.WebScriptException - Wrapped Exception (with status template): IO Error during processing of the template 'org/alfresco/repository/store/pwc.get.atomentry.ftl'. Please contact your system administrator.
   
   org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:595)
   
Server:   Alfresco Labs v3.0.0 (Stable 1526) schema 1,002
Time:   Jun 9, 2009 3:10:13 PM
   
Diagnostics:   Inspect Web Script (org/alfresco/repository/store/pwc.get)

———————————–

I found this link that had a similar issue.  Is this a bug?  https://issues.alfresco.com/jira/browse/ALFCOM-2609

Outcomes