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.

Error when trying to add idp-review-user-profile.ftl

See original GitHub issue

Hi,

I’ve tried to implement idp-review-user-profile.ftl in my keycloakify project (specifing the ftl in extraPages etc.) but the page returns a “Internal Server Error”.

Apparently, there’s an issue in ftl_object_to_js_code_declaring_an_object, as the logs suggest :

{"refId":2,"exceptionType":"freemarker.core._MiscTemplateException","message":"When calling function \"ftl_object_to_js_code_declaring_an_object\", required parameter \"object\" (parameter #1) was specified, but had null/missing value.\n\n----\nTip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the \"!\" operator, like paramValue!defaultValue.\n----\n\n----\nFTL stack trace (\"~\" means nesting-related):\n\t- Failed at: #function ftl_object_to_js_code_decla... [in template \"idp-review-user-profile.ftl\" in function \"ftl_object_to_js_code_declaring_an_object\" at line 86, column 1]\n\t- Reached through: ${ftl_object_to_js_code_declaring_an_... [in template \"idp-review-user-profile.ftl\" at line 7, column 1]\n----","frames":

Do you have any idea on how we could fix this?

Thanks 🙏

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
garronejcommented, Aug 29, 2022

@Romcol,
Ok! Nice to know it’s releated.
Sorry for not answering your message on the other issue yet.
I’m still in vacation but I promise we are going to sort this out!

1reaction
redbencommented, Aug 31, 2022

@Romcol @garronej You were right patching using your PR fixed it. Thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · InseeFrLab/keycloakify - GitHub
Create Keycloak themes using React. Contribute to InseeFrLab/keycloakify ... Error when trying to add idp-review-user-profile.ftl.
Read more >
Error handling - Apache FreeMarker Manual
ParseException because the template is syntactically incorrect according the rules of the FTL language. Note that this error occurs when you ...
Read more >
Chapter 5. Managing users Red Hat Single Sign-On 7.5
Navigate to the Required User Actions list. user required action. Select all the actions you want to add to the account. Click the...
Read more >
Server Administration Guide - Keycloak
If you try to access Keycloak without SSL from a non-private IP address, you will get an error. None Keycloak does not require...
Read more >
FTl Multiverse on Mac Error Help : r/ftlgame - Reddit
On Linux, it's possible (but apparently difficult) to use WINE to run the Windows version of FTL (and to install Hyperspace + Multiverse),...
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