org.apache.ofbiz.webapp.control.RequestHandlerException: Error in the response writer/output stream: freemarker.template.TemplateNotFoundException: Template not found for name "component://widget/templates/HtmlScreenMacroLibrary.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@6e5ece55, loader2 = StringTemplateLoader(Map { })). (Template not found for name "component://widget/templates/HtmlScreenMacroLibrary.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@6e5ece55, loader2 = StringTemplateLoader(Map { })).)

Stack Overflow | Gryphoenix | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Apache OfBiz Execution issues

    Stack Overflow | 2 weeks ago | Gryphoenix
    org.apache.ofbiz.webapp.control.RequestHandlerException: Error in the response writer/output stream: freemarker.template.TemplateNotFoundException: Template not found for name "component://widget/templates/HtmlScreenMacroLibrary.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@6e5ece55, loader2 = StringTemplateLoader(Map { })). (Template not found for name "component://widget/templates/HtmlScreenMacroLibrary.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@6e5ece55, loader2 = StringTemplateLoader(Map { })).)
  2. 0

    TemplateNotFound Exception in Apache Ofbiz in Debug mode from Eclipse (Ubuntu)

    Stack Overflow | 1 month ago | Muhammad Adeel Zahid
    org.apache.ofbiz.webapp.control.RequestHandlerException: Error in the response writer/output stream: freemarker.template.TemplateNotFoundException: Template not found for name "component://widget/templates/HtmlScreenMacroLibrary.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@38cfbab5, loader2 = StringTemplateLoader(Map { })). (Template not found for name "component://widget/templates/HtmlScreenMacroLibrary.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@38cfbab5, loader2 = StringTemplateLoader(Map { })).)
  3. 0

    Bug in demo 9.04 when adding COMPANY_VEHICLE to an order

    ofbiz-user | 7 years ago | Cimballi
    freemarker.core.InvalidReferenceException: Expression product.reservMaxPersons is undefined on line 345, column 189 in component://order/webapp/ordermgr/entry/catalog/productdetail.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SANICARE

    sanicare.de | 1 year ago
    freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...]
  6. 0

    Can't send order confirmation emails (exception raised for: sendconfirmationemail.ftl)

    ofbiz-user | 1 year ago | Morten Jensen
    freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...]

    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 "component://widget/templates/HtmlScreenMacroLibrary.ftl". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@6e5ece55, loader2 = StringTemplateLoader(Map { })).

      at freemarker.template.Configuration.getTemplate()
    2. FreeMarker
      Configuration.getTemplate
      1. freemarker.template.Configuration.getTemplate(Configuration.java:2430)[freemarker-2.3.24-incubating.jar:2.3.24]
      2. freemarker.template.Configuration.getTemplate(Configuration.java:2232)[freemarker-2.3.24-incubating.jar:2.3.24]
      2 frames
    3. org.apache.ofbiz
      ControlServlet.doGet
      1. org.apache.ofbiz.base.util.template.FreeMarkerWorker.getTemplate(FreeMarkerWorker.java:259)[ofbiz.jar:?]
      2. org.apache.ofbiz.base.util.template.FreeMarkerWorker.getTemplate(FreeMarkerWorker.java:253)[ofbiz.jar:?]
      3. org.apache.ofbiz.widget.renderer.macro.MacroScreenRenderer.<init>(MacroScreenRenderer.java:84)[ofbiz.jar:?]
      4. org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandler.loadRenderers(MacroScreenViewHandler.java:113)[ofbiz.jar:?]
      5. org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:152)[ofbiz.jar:?]
      6. org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)[ofbiz.jar:?]
      7. org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)[ofbiz.jar:?]
      8. org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210)[ofbiz.jar:?]
      8 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:687)[javax.servlet-api-3.1.0.jar:3.1.0]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api-3.1.0.jar:3.1.0]
      2 frames
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[tomcat-catalina-8.0.37.jar:8.0.37]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-catalina-8.0.37.jar:8.0.37]
      2 frames
    6. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-embed-websocket-8.0.36.jar:8.0.36]
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-catalina-8.0.37.jar:8.0.37]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-catalina-8.0.37.jar:8.0.37]
      2 frames
    8. org.apache.ofbiz
      ContextFilter.doFilter
      1. org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)[ofbiz.jar:?]
      1 frame
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-catalina-8.0.37.jar:8.0.37]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-catalina-8.0.37.jar:8.0.37]
      2 frames
    10. org.apache.ofbiz
      ControlFilter.doFilter
      1. org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)[ofbiz.jar:?]
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-catalina-8.0.37.jar:8.0.37]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-catalina-8.0.37.jar:8.0.37]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[tomcat-catalina-8.0.37.jar:8.0.37]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[tomcat-catalina-8.0.37.jar:8.0.37]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[tomcat-catalina-8.0.37.jar:8.0.37]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[tomcat-catalina-8.0.37.jar:8.0.37]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-catalina-8.0.37.jar:8.0.37]
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[tomcat-catalina-8.0.37.jar:8.0.37]
      9. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)[tomcat-catalina-8.0.37.jar:8.0.37]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)[tomcat-catalina-8.0.37.jar:8.0.37]
      10 frames
    12. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100)[tomcat-coyote-8.0.37.jar:8.0.37]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687)[tomcat-coyote-8.0.37.jar:8.0.37]
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)[tomcat-coyote-8.0.37.jar:8.0.37]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)[tomcat-coyote-8.0.37.jar:8.0.37]
      4 frames
    13. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_121]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_121]
      2 frames
    14. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util-8.0.37.jar:8.0.37]
      1 frame
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_121]
      1 frame