While upgrading to 21.0.2 from 20.0.0, I get the following error :
java.lang.NullPointerException: Cannot read field "features" because the return value of "org.keycloak.common.Profile.getInstance()" is null
at org.keycloak.common.Profile.isFeatureEnabled(Profile.java:189) ~[keycloak-common-21.0.2.jar:21.0.2]
at org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:98) ~[keycloak-services-21.0.2.jar:21.0.2]
I am using java17, springboot 2.4.10. Its an embedded keycloak server. What am I missing ? Thanks in advance !!