Skip to content

Instantly share code, notes, and snippets.

@hikoz
Created September 9, 2014 04:02
Show Gist options
  • Save hikoz/ddbe7c9f697f82c18362 to your computer and use it in GitHub Desktop.
Save hikoz/ddbe7c9f697f82c18362 to your computer and use it in GitHub Desktop.
JTwig still having concurrency problem
Caused by: com.lyncode.jtwig.exception.RenderException: com.lyncode.jtwig.exception.CalculateException: com.lyncode.jtwig.resource.WebJtwigResource@31e1a5eb -> Line 7, column 37: Unable to find function with name 'trans'
at com.lyncode.jtwig.content.model.compilable.Output$Compiled.render(Output.java:56)
at com.lyncode.jtwig..model.compilable.Sequence$Compiled.render(Sequence.java:80)
at com.lyncode.jtwig.parser.JtwigParser$CompiledDocument.render(JtwigParser.java:67)
at com.lyncode.jtwig.parser.JtwigParser$CompiledDocument.render(JtwigParser.java:67)
at com.lyncode.jtwig.mvc.JtwigView.renderMergedTemplateModel(JtwigView.java:103)
at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1228)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
... 16 more
Caused by: com.lyncode.jtwig.exception.CalculateException: com.lyncode.jtwig.resource.WebJtwigResource@31e1a5eb -> Line 7, column 37: Unable to find function with name 'trans'
at com.lyncode.jtwig.expressions.model.FunctionElement$Compiled.calculate(FunctionElement.java:82)
at com.lyncode.jtwig.content.model.compilable.Output$Compiled.render(Output.java:52)
... 27 more
Caused by: com.lyncode.jtwig.functions.exceptions.FunctionNotFoundException: Unable to find function with name 'trans'
at com.lyncode.jtwig.render.RenderContext.executeFunction(RenderContext.java:131)
at com.lyncode.jtwig.expressions.model.FunctionElement$Compiled.calculate(FunctionElement.java:80)
... 28 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment