Catalog Operator pod crashing with panic: runtime error: invalid memory address or nil pointer dereference

Solution Verified - Updated -

Issue

  • The Catalog Operator Pod is restarting continuously which causes the operator installation and upgrade to fail.
  • The Catalog Operator Pod is crashing and showing errors as described below:

    level=info msg="starting workers..."
    level=info msg="syncing catalog source for annotation templates" catSrcName=my-operator-catalog catSrcNamespace=openshift-marketplace id=Ul2he
    level=info msg="Adding related objects for operator-lifecycle-manager-catalog"
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x197ac7d]
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • OpenShift Operator Lifecycle Manager (OLM)
  • catalog-operator pod

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