Issue 16094

UAT: Error showing in portal web log

16094
Reporter: trobertson
Assignee: fmendez
Type: Bug
Summary: UAT: Error showing in portal web log
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2014-07-10 10:53:27.358
Updated: 2016-02-26 16:01:20.797
Resolved: 2016-02-26 16:01:16.077
        
Description: ERROR [2014-07-10 09:46:58,407+0200] [http-bio-8080-exec-110] com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor: The following has evaluated to null or missing:
==> component.usageKey  [in template "WEB-INF/macros/common.ftl" at line 64, column 56]

Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??

The failing instruction (print stack trace for 5 more):
==> ${component.usageKey?c}  [in template "WEB-INF/macros/common.ftl" at line 64, column 54]
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> component.usageKey  [in template "WEB-INF/macros/common.ftl" at line 64, column 56]

Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??

The failing instruction (print stack trace for 5 more):
==> ${component.usageKey?c}  [in template "WEB-INF/macros/common.ftl" at line 64, column 54]
	at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:98) ~[freemarker-2.3.20.jar:2.3.20]]]>
    


Author: mblissett
Created: 2016-02-26 16:01:16.191
Updated: 2016-02-26 16:01:16.191
        
Looks like this was fixed in ddd30fad8d1b3d9f978eb58bb3e5b09a61297f90