Facing freemarker.core.InvalidReferenceException in ftl file for themes
Issue
- I get Failed to create error page:
org.keycloak.theme.FreeMarkerException: Failed to process template page.ftl
, when, this URI is called/auth/realms/<realm>/foo
:
2020-06-01 09:32:06,841 ERROR [freemarker.runtime] (default task-22) Error executing FreeMarker template: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> customVariable.field [in template "page.ftl" at line 9, column 38]
Environment
- Red Hat Single Sign On(RH-SSO)
- 7
- Red Hat Build Keycloak(RHBK)
- All version
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.