AnsweredAssumed Answered

errore durante la ricerca

Question asked by riccardopulcini on Jul 18, 2014
Latest reply on Jul 22, 2014 by riccardopulcini
Salve,

stavamo testando le funzionalità dei webscript, mentre testavo la ricerca per categorie abbiamo ottenuto il seguente errore:

{
    "status" :
  {
    "code" : 500,
    "name" : "Internal Error",
    "description" : "An error inside the HTTP server which prevented it from fulfilling the request."
  }, 
 
  "message" : "{
    "status" :
  {
    "code" : 500,
    "name" : "Internal Error",
    "description" : "An error inside the HTTP server which prevented it from fulfilling the request."
  }, 
 
  "message" : "06180229 Wrapped Exception (with status template): 06180906 Errore durante l'elaborazione del modello 'Expression jsonUtils.encodeJSONString(status.message) is undefined on line 11, column 18 in json.status.ftl.'. Contattare l'amministratore di sistema.", 
  "exception" : "org.springframework.extensions.webscripts.WebScriptException - 06180229 Wrapped Exception (with status template): 06180906 Errore durante l'elaborazione del modello 'Expression jsonUtils.encodeJSONString(status.message) is undefined on line 11, column 18 in json.status.ftl.'. Contattare l'amministratore di sistema.",
 
  "callstack" :
  [
          ""      ,"freemarker.core.InvalidReferenceException: Expression jsonUtils.encodeJSONString(status.message) is undefined on line 11, column 18 in json.status.ftl."
      ,"freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)"
      ,"freemarker.core.Expression.getStringValue(Expression.java:118)"
      ,"freemarker.core.Expression.getStringValue(Expression.java:93)"
      ,"freemarker.core.DollarVariable.accept(DollarVariable.java:76)"
      ,"freemarker.core.Environment.visit(Environment.java:221)"
      ,"freemarker.core.MixedContent.accept(MixedContent.java:92)"
      ,"freemarker.core.Environment.visit(Environment.java:221)"
      ,"freemarker.core.Environment.process(Environment.java:199)"
      ,"org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:218)"
      ,"org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:896)"
      ,"org.springframework.extensions.webscripts.AbstractWebScript.sendStatus(AbstractWebScript.java:995)"
      ,"org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:96)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:422)"
      ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)"
      ,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)"
      ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:728)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)"
      ,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)"
      ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)"
      ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)"
      ,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)"
      ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)"
      ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)"
      ,"org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)"
      ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)"
      ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)"
      ,"org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)"
      ,"org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)"
      ,"org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1810)"
      ,"java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)"
      ,"java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)"
      ,"java.lang.Thread.run(Thread.java:724)"
      ,"org.alfresco.service.cmr.repository.TemplateException: 06180906 Errore durante l'elaborazione del modello 'Expression jsonUtils.encodeJSONString(status.message) is undefined on line 11, column 18 in json.status.ftl.'. Contattare l'amministratore di sistema."
      ,"org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:222)"
      ,"org.springframework.extensions.webscripts.WebScriptException: 06180229 Wrapped Exception (with status template): 06180906 Errore durante l'elaborazione del modello 'Expression jsonUtils.encodeJSONString(status.message) is undefined on line 11, column 18 in json.status.ftl.'. Contattare l'amministratore di sistema."
      ,"org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)"

  ],
 
  "server" : "Enterprise v4.2.1 (r63452-b50) schema 6.052",
  "time" : "18-lug-2014 18.25.07"
}

Cosa può essere? Può essere il modo in cui scriviamo i parametri di ricerca?

Riccardo

Outcomes