Closed paulwer closed 1 year ago
I've seen things like this when running in a KeycloakTransaction
. Because you're in a different session, any *Model
instances from the parent session are null. However, I don't know why it's intermittent. I think the correct solution is to store the realm ID as a String, and then load a fresh RealmModel
inside the transaction.
@paulwer Try running against this branch and see if you get the same error https://github.com/p2-inc/keycloak-events/tree/xgp/23-webhook-crash
i am using the docker image, any way to bunde this, so i can start from there?
I believe you can just mount the jar as a volume in place of the existing events jar in /opt/keycloak/providers/
dir.