FreeMarker template error:
The following has evaluated to null or missing:
==> product [in template "component://aapab2c/webapp/aapab2c/buynow/catalog/modals/ImageViewerModal.ftl" at line 14, column 13]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${product.name!} [in template "component://aapab2c/webapp/aapab2c/buynow/catalog/modals/ImageViewerModal.ftl" at line 14, column 11]
- Reached through: #include "component://aapab2c/webapp/... [in template "default:DataResource:AP_PRODUCT_PAGE_DEC" at line 3, column 1]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:85)
at freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:48)
at freemarker.core.NonHashException.<init>(NonHashException.java:49)
at freemarker.core.Dot._eval(Dot.java:48)
at freemarker.core.Expression.eval(Expression.java:83)
at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:88)
at freemarker.core.Expression.eval(Expression.java:83)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.include(Environment.java:2582)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:293)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateFromString(FreeMarkerWorker.java:268)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:223)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:717)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:652)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:308)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:364)
at org.ofbiz.content.content.ContentMapFacade.renderThis(ContentMapFacade.java:420)
at org.ofbiz.content.content.ContentMapFacade.toString(ContentMapFacade.java:432)
at freemarker.ext.beans.StringModel.getAsString(StringModel.java:60)
at freemarker.core.EvalUtil.modelToString(EvalUtil.java:59)
at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:461)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:389)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:358)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:293)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateFromString(FreeMarkerWorker.java:268)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:223)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:717)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:652)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:308)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:284)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:364)
at org.ofbiz.content.content.ContentWorker.renderContentAsTextExt(ContentWorker.java:116)
at org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderContentBody(MacroScreenRenderer.java:398)
at org.ofbiz.widget.model.ModelScreenWidget$Content.renderWidgetString(ModelScreenWidget.java:1414)
at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136)
at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98)
at com.hotwaxmedia.buynow.buynow.BuynowMacroScreenViewHandler.render(BuynowMacroScreenViewHandler.java:80)
at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1019)
at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:682)
at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:529)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:661)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:425)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:357)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:294)
at com.hotwaxmedia.aapab2c.PartsNowCatalogFilter.doFilter(PartsNowCatalogFilter.java:414)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at com.hotwax.auth0.Auth0Filter.doFilter(Auth0Filter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at com.hotwaxmedia.buynow.buynow.multisite.WebSiteFilter.doFilter(WebSiteFilter.java:210)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:362)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:750)
FreeMarker template error:
The following has evaluated to null or missing:
==> product [in template "component://aapab2c/webapp/aapab2c/buynow/catalog/modals/ImageViewerModal.ftl" at line 17, column 15]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${product.name!} [in template "component://aapab2c/webapp/aapab2c/buynow/catalog/modals/ImageViewerModal.ftl" at line 17, column 13]
- Reached through: #include "component://aapab2c/webapp/... [in template "default:DataResource:AP_PRODUCT_PAGE_DEC" at line 3, column 1]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:85)
at freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:48)
at freemarker.core.NonHashException.<init>(NonHashException.java:49)
at freemarker.core.Dot._eval(Dot.java:48)
at freemarker.core.Expression.eval(Expression.java:83)
at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:88)
at freemarker.core.Expression.eval(Expression.java:83)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.include(Environment.java:2582)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:293)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateFromString(FreeMarkerWorker.java:268)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:223)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:717)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:652)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:308)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:364)
at org.ofbiz.content.content.ContentMapFacade.renderThis(ContentMapFacade.java:420)
at org.ofbiz.content.content.ContentMapFacade.toString(ContentMapFacade.java:432)
at freemarker.ext.beans.StringModel.getAsString(StringModel.java:60)
at freemarker.core.EvalUtil.modelToString(EvalUtil.java:59)
at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:461)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:389)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:358)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:293)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateFromString(FreeMarkerWorker.java:268)
at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:223)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:717)
at org.ofbiz.content.data.DataResourceWorker.renderDataResourceAsText(DataResourceWorker.java:652)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:308)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:284)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:394)
at org.ofbiz.content.content.ContentWorker.renderContentAsText(ContentWorker.java:364)
at org.ofbiz.content.content.ContentWorker.renderContentAsTextExt(ContentWorker.java:116)
at org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderContentBody(MacroScreenRenderer.java:398)
at org.ofbiz.widget.model.ModelScreenWidget$Content.renderWidgetString(ModelScreenWidget.java:1414)
at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136)
at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98)
at com.hotwaxmedia.buynow.buynow.BuynowMacroScreenViewHandler.render(BuynowMacroScreenViewHandler.java:80)
at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1019)
at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:682)
at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:529)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:661)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:425)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:357)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:294)
at com.hotwaxmedia.aapab2c.PartsNowCatalogFilter.doFilter(PartsNowCatalogFilter.java:414)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at com.hotwax.auth0.Auth0Filter.doFilter(Auth0Filter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at com.hotwaxmedia.buynow.buynow.multisite.WebSiteFilter.doFilter(WebSiteFilter.java:210)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:362)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:750)
close
Product Unavailable
This item is no longer available. Continue shopping or contact us so we can help!
We use these cookies to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy.
We use these cookies to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy.