Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.Recorder is nil. Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference #6697

Closed
vladsf opened this issue Mar 5, 2024 · 2 comments
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@vladsf
Copy link

vladsf commented Mar 5, 2024

Bug Report

Hi, I followed the latest Go lang guide to create the sample memcached operator.
memcached_controller.go

but it fails when I try to delete the applied sample yaml.

.. Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference
...
internal/controller.(*MemcachedReconciler).doFinalizerOperationsForMemcached(0xc0000163f0, 0xc000462500)

somehow r.Recorder is nil. So line 299 fails

Is there way to fix this?

@harshvijaythakkar
Copy link

I think it is duplicate of #6681

@acornett21 acornett21 added the triage/duplicate Indicates an issue is a duplicate of other open issue. label May 7, 2024
@acornett21
Copy link
Contributor

Closing as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

3 participants