freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]

GitHub | sdutry | 3 months ago
  1. 0

    <sj:div> + struts 2.5.x not working

    GitHub | 3 months ago | sdutry
    freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]
  2. 0

    Sitemesh throws: Unhandled exception occurred whilst decorating page: java.lang.ArrayIndexOutOfBoundsException: -1

    Stack Overflow | 1 year ago | mrh
    freemarker.core._MiscTemplateException: Failed to "?eval" string with this error: ---begin-message--- Invalid reference. Details are unavilable, as this should have been handled by an FTL construct. If it wasn't, that's problably a bug in FreeMarker. ---end-message--- The failing expression: ==> action_property?eval [in template "WEB-INF/content/common/controls/radio.ftl" at line 3, column 78] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if ((action_property?eval)!"") == value [in template "WEB-INF/content/common/controls/radio.ftl" in macro "display" at line 3, column 71] - Reached through: @radio.display action_property="ccdSe... [in template "WEB-INF/content/common/ccd_search_fields.ftl" in macro "display" at line 21, column 21] - Reached through: @ccd_search_fields.display [in template "WEB-INF/content/search-ccd.ftl" at line 25, column 5] ----
  3. 0

    Java Freemarker parsing exception

    Stack Overflow | 1 year ago | Sannin
    com.sannin.exception.TechnicalException: com.sannin.template.Renderer.render(Renderer.java:78) ~[tools-0.1.jar:na]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 358#117937611

    GitHub | 1 year ago | omendrapandey
    freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]
  6. 0

    Possible regression in 5.4.0 - no mail notification received

    GitHub | 4 months ago | mchubby
    freemarker.core._MiscTemplateException: When calling macro "commentBlock", required parameter "avatar" (parameter #1) was specified, but had null/missing value. ---- Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #macro commentBlock avatar displayNam... [in template "macroTextBlock.ftl" in macro "commentBlock" at line 18, column 1] - Reached through: @lib.commentBlock avatar=commentItem... [in template "mailProjectItemCommentNotifier.ftl" at line 22, column 17] ----

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. freemarker.template.TemplateNotFoundException

      Template not found for name "template/simple/div.ftl". The name was interpreted by this TemplateLoader: org.apache.struts2.views.freemarker.FreemarkerThemeTemplateLoader@28d45bc0.

      at freemarker.template.Configuration.getTemplate()
    2. FreeMarker
      Template.process
      1. freemarker.template.Configuration.getTemplate(Configuration.java:1833)
      2. freemarker.core.Environment.getTemplateForInclusion(Environment.java:2044)
      3. freemarker.core.Include.accept(Include.java:158)
      4. freemarker.core.Environment.visit(Environment.java:324)
      5. freemarker.core.MixedContent.accept(MixedContent.java:54)
      6. freemarker.core.Environment.visit(Environment.java:324)
      7. freemarker.core.Environment.process(Environment.java:302)
      8. freemarker.template.Template.process(Template.java:325)
      8 frames
    3. Struts2
      ComponentTagSupport.doStartTag
      1. org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:152)
      2. org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:582)
      3. org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:57)
      4. org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
      4 frames
    4. org.apache.jsp
      index_jsp._jspService
      1. org.apache.jsp.WEB_002dINF.content.index_jsp._jspx_meth_sj_005fdiv_005f0(index_jsp.java:246)
      2. org.apache.jsp.WEB_002dINF.content.index_jsp._jspService(index_jsp.java:113)
      2 frames
    5. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    7. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      3 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    10. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
      1 frame
    11. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
      6 frames
    12. org.apache.struts2
      StrutsResultSupport.execute
      1. org.apache.struts2.result.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:167)
      2. org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:208)
      2 frames
    13. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:366)
      2. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:270)
      2 frames
    14. Struts2
      DebuggingInterceptor.intercept
      1. org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:252)
      1 frame
    15. XWork
      ValidationInterceptor.doIntercept
      1. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      2. com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
      3. com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:97)
      4. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      5. com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:260)
      5 frames
    16. Struts2
      AnnotationValidationInterceptor.doIntercept
      1. org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:69)
      1 frame
    17. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:97)
      2. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      3. com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
      4. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      5. com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:133)
      6. com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:97)
      7. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      8. com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:133)
      9. com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:97)
      10. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      11. com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:188)
      12. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      12 frames
    18. Struts2
      MultiselectInterceptor.intercept
      1. org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)
      1 frame
    19. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      1 frame
    20. Struts2
      DateTextFieldInterceptor.intercept
      1. org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(DateTextFieldInterceptor.java:120)
      1 frame
    21. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      1 frame
    22. Struts2
      CheckboxInterceptor.intercept
      1. org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)
      1 frame
    23. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      1 frame
    24. Struts2
      FileUploadInterceptor.intercept
      1. org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:244)
      1 frame
    25. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      2. com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:99)
      3. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      4. com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:139)
      5. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      6. com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:155)
      7. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      8. com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:174)
      9. com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:97)
      10. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      11. com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:130)
      12. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      12 frames
    26. Struts2
      ServletConfigInterceptor.intercept
      1. org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
      1 frame
    27. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      2. com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)
      3. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      4. com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:193)
      5. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240)
      5 frames
    28. Struts2
      ExecuteOperations.executeAction
      1. org.apache.struts2.factory.StrutsActionProxy.execute(StrutsActionProxy.java:54)
      2. org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:556)
      3. org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81)
      3 frames
    29. org.apache.struts2
      StrutsPrepareAndExecuteFilter.doFilter
      1. org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:113)
      1 frame
    30. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    31. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
      3 frames
    32. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames