FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!)
The following has evaluated to null or missing:
==> currentAction.getStringAssembledGlobalProperty("policy.enduser.tos", globalPropsParam) [in template "com/cubchicken/plugin/base/model/PageBlockSiteInfo/html.ftl" at line 22, 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: ${currentAction.getStringAssembledGlo... [in template "com/cubchicken/plugin/base/model/PageBlockSiteInfo/html.ftl" at line 22, column 13]
- Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17]
- Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13]
- Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17]
- Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13]
- Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17]
- Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13]
- Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17]
- Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/layout/model/MasterBlockInstance/html.ftl" at line 19, column 9]
- Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17]
- Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/layout/model/PageBlockRoot/html.ftl" at line 22, column 9]
- Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17]
- Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/layout/view/DisplayObjectAction/success.ftl" at line 65, column 9]
~ Reached through: #nested [in template "com/cubchicken/common/commonMacros.ftl" in macro "designParameterOrElse" at line 1557, column 9]
~ Reached through: @com.designParameterOrElse name="disp... [in template "com/cubchicken/layout/view/DisplayObjectAction/success.ftl" at line 5, 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.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:467)
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.visit(Environment.java:336)
at freemarker.core.Environment.visit(Environment.java:336)
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.visit(Environment.java:336)
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:372)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:317)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:242)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:642)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:107)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:93)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
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.visit(Environment.java:336)
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:372)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:317)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:242)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:642)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:107)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:93)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
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.visit(Environment.java:336)
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:372)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:317)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:242)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:642)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:107)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:93)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
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.visit(Environment.java:336)
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.visit(Environment.java:336)
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.visit(Environment.java:336)
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.visit(Environment.java:336)
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.visit(Environment.java:336)
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:366)
at freemarker.core.Environment.visitAndTransform(Environment.java:495)
at freemarker.core.CompressedBlock.accept(CompressedBlock.java:42)
at freemarker.core.Environment.visit(Environment.java:366)
at freemarker.core.Environment.invokeNestedContent(Environment.java:618)
at freemarker.core.BodyInstruction.accept(BodyInstruction.java:60)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:372)
at freemarker.core.Environment.invoke(Environment.java:775)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83)
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 freemarker.template.Template.process(Template.java:384)
at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:223)
at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:193)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:276)
at com.cubchicken.authorization.interceptor.ObjectViewAuthorizationInterceptor.intercept(ObjectViewAuthorizationInterceptor.java:194)
at com.cubchicken.authorization.interceptor.ObjectViewAuthorizationInterceptor.intercept(ObjectViewAuthorizationInterceptor.java:75)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.authorization.interceptor.BasicAuthorizationInterceptor.intercept(BasicAuthorizationInterceptor.java:282)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.authentication.interceptor.AuthenticationInterceptor.intercept(AuthenticationInterceptor.java:81)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.authentication.interceptor.ExternalCrawlerDetectionInterceptor.intercept(ExternalCrawlerDetectionInterceptor.java:137)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.common.interceptor.P3PInterceptor.intercept(P3PInterceptor.java:62)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.common.control.LoggingInterceptor.intercept(LoggingInterceptor.java:97)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.cms.interceptor.UrlContextInterceptor.intercept(UrlContextInterceptor.java:155)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.personalization.interceptor.UserPreferenceInjectionInterceptor.intercept(UserPreferenceInjectionInterceptor.java:97)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptor.intercept(ActionAutowiringInterceptor.java:120)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.common.interceptor.IgnoreIOErrors.intercept(IgnoreIOErrors.java:46)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.common.interceptor.ExceptionHandlingInterceptor.intercept(ExceptionHandlingInterceptor.java:76)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.common.dao.hibernate.HibernateSessionInterceptor.intercept(HibernateSessionInterceptor.java:102)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.common.interceptor.ExpirationSettingInterceptor.intercept(ExpirationSettingInterceptor.java:64)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at com.cubchicken.common.interceptor.ExceptionFinalInterceptor.intercept(ExceptionFinalInterceptor.java:67)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:575)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:689)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
The following has evaluated to null or missing: ==> currentAction.getStringAssembledGlobalProperty("policy.enduser.tos", globalPropsParam) [in template "com/cubchicken/plugin/base/model/PageBlockSiteInfo/html.ftl" at line 22, 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: ${currentAction.getStringAssembledGlo... [in template "com/cubchicken/plugin/base/model/PageBlockSiteInfo/html.ftl" at line 22, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/layout/model/MasterBlockInstance/html.ftl" at line 19, column 9] ... (Had 6 more, hidden for tersenes) ----

Error: The following has evaluated to null or missing: ==> currentAction.getStringAssembledGlobalProperty("policy.enduser.tos", globalPropsParam) [in template "com/cubchicken/plugin/base/model/PageBlockSiteInfo/html.ftl" at line 22, 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: ${currentAction.getStringAssembledGlo... [in template "com/cubchicken/plugin/base/model/PageBlockSiteInfo/html.ftl" at line 22, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/plugin/base/model/PageBlockStackedRows/html.ftl" at line 44, column 13] - Reached through: #include renderContext.getPageBlockTe... [in template "com/cubchicken/layout/model/PageBlock/html.ftl" at line 45, column 17] - Reached through: #include "/com/cubchicken/layout/mode... [in template "com/cubchicken/layout/model/MasterBlockInstance/html.ftl" at line 19, column 9] ... (Had 6 more, hidden for tersenes) ----

Return to site.

If this looks like a bug, please send us a note describing what happened, and we'll try to get things fixed as soon as we can. providing us details on the steps leading to this error. We'll get back to you as soon as possible.