Red Hat Single Sign-On (RH SSO) Operator crashes with the panic "invalid memory address or nil pointer dereference"

Solution Verified - Updated -

Issue

When deploying the RH SSO Operator, the following error is displayed in the container:

{"level":"info","ts":1665405106.626761,"logger":"controller_keycloak","msg":"Reconciling Keycloak","Request.Namespace":"<NAMESPACE>","Request.Name":"<NAME>"}
E1010 12:31:47.129450       1 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
goroutine 10492 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic(0x16e4f20, 0x27982f0)
...

Environment

  • Red Hat Single Sign-On (RH SSO)
    • 7.X (Operator)
  • Red Hat OpenShift Container Platform (OCP)
    • 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content