Hello,
I am running into an issue that started this morning.
I am not sure how to troubleshoot, here is the stack trace:
18:25:57,186 FATAL [org.keycloak.services] (ServerService Thread Pool -- 66) Error during startup: org.keycloak.models.ModelDuplicateException: javax.persistence.EntityExistsException: A different object with the same identifier value was already associated with the session : [org.keycloak.models.jpa.entities.RequiredActionProviderEntity#0b82f0a3-db73-4c7b-aeec-a054bc0a2a9f]
at org.keycloak.keycloak-model-jpa@12.0.0//org.keycloak.connections.jpa.PersistenceExceptionConverter.convert(PersistenceExceptionConverter.java:59)
at org.keycloak.keycloak-model-jpa@12.0.0//org.keycloak.connections.jpa.PersistenceExceptionConverter.invoke(PersistenceExceptionConverter.java:51)
at javax.persistence.api@2.2.3//com.sun.proxy.$Proxy91.persist(Unknown Source)
at org.keycloak.keycloak-model-jpa@12.0.0//org.keycloak.models.jpa.RealmAdapter.addRequiredActionProvider(RealmAdapter.java:1826)
at org.keycloak.keycloak-model-infinispan@12.0.0//org.keycloak.models.cache.infinispan.RealmAdapter.addRequiredActionProvider(RealmAdapter.java:1359)
at org.keycloak.keycloak-server-spi-private@12.0.0//org.keycloak.migration.migrators.MigrateTo12_0_0.lambda$migrate$4(MigrateTo12_0_0.java:52)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)