cancel
Showing results for 
Search instead for 
Did you mean: 

Wrapped Exception dans share

yanock
Champ in-the-making
Champ in-the-making
Bonjour,

suite à la création d'un topic, un utilisateur a eu cette erreur et maintenant elle persite lorsque l'on essaye d'afficher les discussions.

10040010 Wrapped Exception (with status template): 10040066 Error during processing of the template 'String index out of range: 512'. Please contact your system administrator.

J'ai redemarrer alfresco, fait une reindexation en FULL rien n'y fait, l'erreur persiste.

En esperant que quelqu'un puisse m'aider.
3 REPLIES 3

rguinot
Confirmed Champ
Confirmed Champ
full stack trace please.
Peut etre est-ce ce problème : http://issues.alfresco.com/jira/browse/ALF-3005
le fix est inclus (il s'agit de 2 ftl a éditer)

yanock
Champ in-the-making
Champ in-the-making
Bonjour,

désolé du retard, je joins à ce message l'erreur que cela produit.

10:08:23,666 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 10150025 Wrapped Exception (with status template): 10150509 Error during processing of the template 'String index out of range: 512'. Please contact your system administrator.
org.springframework.extensions.webscripts.WebScriptException: 10150025 Wrapped Exception (with status template): 10150509 Error during processing of the template 'String index out of range: 512'. Please contact your system administrator.
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:740)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:167)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:298)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:319)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:177)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.service.cmr.repository.TemplateException: 10150509 Error during processing of the template 'String index out of range: 512'. Please contact your system administrator.
   at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:201)
   at org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:578)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:263)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:143)
   … 21 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 512
   at java.lang.String.substring(String.java:1934)
   at freemarker.core.StringBuiltins$substringBI$1.exec(StringBuiltins.java:213)
   at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
   at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
   at freemarker.core.ListLiteral.getModelList(ListLiteral.java:119)
   at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:89)
   at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
   at freemarker.core.Expression.getStringValue(Expression.java:93)
   at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.MixedContent.accept(MixedContent.java:92)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.IfBlock.accept(IfBlock.java:82)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.EscapeBlock.accept(EscapeBlock.java:84)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.Macro$Context.runMacro(Macro.java:164)
   at freemarker.core.Environment.visit(Environment.java:601)
   at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.MixedContent.accept(MixedContent.java:92)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.EscapeBlock.accept(EscapeBlock.java:84)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.Macro$Context.runMacro(Macro.java:164)
   at freemarker.core.Environment.visit(Environment.java:601)
   at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.MixedContent.accept(MixedContent.java:92)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.Macro$Context.runMacro(Macro.java:164)
   at freemarker.core.Environment.visit(Environment.java:601)
   at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.Environment.visit(Environment.java:393)
   at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.MixedContent.accept(MixedContent.java:92)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
   at freemarker.core.Environment.visit(Environment.java:415)
   at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.MixedContent.accept(MixedContent.java:92)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.Macro$Context.runMacro(Macro.java:164)
   at freemarker.core.Environment.visit(Environment.java:601)
   at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.MixedContent.accept(MixedContent.java:92)
   at freemarker.core.Environment.visit(Environment.java:208)
   at freemarker.core.Environment.process(Environment.java:188)
   at freemarker.template.Template.process(Template.java:237)
   at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:197)
   … 24 more

yanock
Champ in-the-making
Champ in-the-making
Bonjour,

j'ai "résolu" mon problème en supprimant la discussion dans explorer et en demandant à mes utilisateurs de la recréer. Depuis le problème ne s'est pas reproduit.
Je voulais savoir s'il était judicieux de quand même modifier les .Ftl, j'ai un peu peur d’aggraver les choses.