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

panic: reflect.Value.Call: call of nil function #1663

Open
duj4 opened this issue Oct 14, 2024 · 0 comments
Open

panic: reflect.Value.Call: call of nil function #1663

duj4 opened this issue Oct 14, 2024 · 0 comments

Comments

@duj4
Copy link

duj4 commented Oct 14, 2024

The following program sample.go triggers an unexpected result

package main

func main() {
cmap.Upsert()
}

Expected result

There should be no error coming out.

Got

Error like "panic: reflect.Value.Call: call of nil function" posted, which caused the pod reboot.

Yaegi Version

0.16.1

Additional Notes

I am writing a Traefik plugin with https://github.com/orcaman/concurrent-map/tree/v1.0.0 imported. However, error like below posted while it is running for while:

Image

Code snippet is as below:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant