FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> JSONHelper.fetchHashMapFromFile(templateData.serviceData[productSeoName]) [in template "html_template.txt" at line 3, column 24]
----
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: #assign serviceData = JSONHelper.fetc... [in template "html_template.txt" 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.Assignment.accept(Assignment.java:139)
at freemarker.core.Environment.visit(Environment.java:334)
at freemarker.core.Environment.visit(Environment.java:340)
at freemarker.core.Environment.process(Environment.java:313)
at freemarker.template.Template.process(Template.java:383)
at com.tcs.ion.seo.service.SEOService.saveHtmlFile(SEOService.java:997)
at com.tcs.ion.seo.service.SEOService.generateHtmlForUrl(SEOService.java:242)
at com.tcs.ion.seo.service.SEOService$$EnhancerByCGLIB$$f009d087.CGLIB$generateHtmlForUrl$9(