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.

Cannot convert undefined or null to object

See original GitHub issue

Area

admin/ui

Describe the bug

I am using Keycloak 19.0.3. This bug occurs also in 19.0.2 but not in 19.0.1

I am following the steps provided here: https://www.keycloak.org/docs/19.0.1/server_admin/#_step-up-flow

  1. Add the Condition - Level of Authentication image

  2. Press the gearbox icon. This is what happens: image

Version

19.0.3

Expected behavior

I should be able to see this dialog (which I can see if I rollback to 19.0.1) image

The dialog is initially empty (no alias field, no loa-condition-level field). If I rollback to 19.0.1, fill the dialog and the roll-forward to 19.0.3, I can open the dialog and see the correct value as above. But pressing the Clear button cause the problem again.

Actual behavior

Currently it is not possible to set up a Condition - Level of authentication. The error is the one below.

image

** Important ** Looking at the old issues, it looks like the same error was found in roles and other authentication blocks. I currently did not test them but it is definitely possible they are affected too.

How to Reproduce?

Follow the documentation steps in the link I provided above (official documentation).

Anything else?

Please provide the “database compatibility” among minor versions. I can’t find this information and I took the risk to roll-back and roll-forward the container images while sharing the same database. More info about this would be greatly appreciated.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ssilvertcommented, Nov 4, 2022

@raffaeler 20.0.0 was released a couple of days ago.

https://www.keycloak.org/downloads

0reactions
raffaelercommented, Nov 2, 2022

@ssilvert yesterday I checked for a new container release but the latest tag was the 19.0.3. Where can I find the 20? Was it released or is it a beta?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot convert undefined or null to object - Stack Overflow
Generic answer. This error is caused when you call a function that expects an Object as its argument, but pass undefined or null...
Read more >
Cannot convert undefined or null to Object in JavaScript
The "Cannot convert undefined or null to Object" error occurs when we pass a null or an undefined value to a function that...
Read more >
Object.keys(null) possible - cannot convert undefined or null to ...
Conditions above this line allow msg===null to get into Object.keys(msg);. livedata_connection.js:1626 Uncaught TypeError: Cannot convert ...
Read more >
Cannot convert undefined or null to object - YouTube
JavaScript : How to resolve TypeError: Cannot convert undefined or null to object [ Gift : Animated Search Engine ...
Read more >
Cannot convert undefined or null to object ( But we didn't ...
Hi Retool team, Since this morning, we have this error message that appears (Cannot convert undefined or null to object).
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