question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

login.ftl generates keycloak errors

See original GitHub issue

On every request to login.ftl generated by keycloakify the following error is displayed in the keycloak logs:

[freemarker.runtime] Error executing FreeMarker template part in the #attempt block: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
object[key] [in template "login.ftl"] at line 70, column 37

The page works fine but it generates a lot of misleading messages in our logs. Any chances to fix that issue?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
BartlomiejZalascommented, Jul 21, 2022

We’ve been using version 4.2.10. Upgrade to 4.2.14 fixed the issue. Thanks.

0reactions
garronejcommented, Jul 21, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

keycloak-theme/error.ftl at master - GitHub
keycloak -theme/login/error.ftl · Go to file T · Go to line L · Copy path · Copy permalink.
Read more >
Keycloak FTL: how can we access error messages within the ...
ftl page that I'd like to display the error messages in. How can I either pass that message down to the login.ftl file...
Read more >
Base theme login crashes when message needs to be displayed
Using base theme produces an error when login page tries to display a message. The following properties that are not defined in base...
Read more >
Action URI not set error - Getting advice - Keycloak Discourse
This is triggered for yet unknown causes and “usually” when someone tries to login. Keycloak works fine (i.e I can login, logout, use...
Read more >
Server Developer Guide - Keycloak
For example to create a custom login form for the mytheme theme copy themes/base/login/login.ftl to themes/mytheme/login and open it in an ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found