Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Migrate Theme Liferay Generator
We try to make a new Liferay CE 7.3 project using NPM and the Liferay Theme Generator, we include a CE 7.1 version Theme project folder, however we get the following error:
Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:==> freeMarkerPortletPreferences.setValue [in template "afp-confia-theme_SERVLET_CONTEXT/templates/navigation.ftl" at line 10, column 57]__----Tip: It's the step after the last dot that caused this error, not those before it.----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 VOID = freeMarkerPortletPrefe... [in template "afp-confia-theme_SERVLET_CONTEXT_/templates/navigation.ftl" at line 10, column 41]_ - Reached through: #include "${full_templates_path}/navi... [in template "afp-confia-theme_SERVLET_CONTEXT_/templates/portal_normal.ftl" at line 44, column 9]_---- [Sanitized]
Powered by Liferay™