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: runtime error: invalid memory address or nil pointer dereference #15

Open
jsec83 opened this issue Jul 23, 2019 · 0 comments
Open

Comments

@jsec83
Copy link

jsec83 commented Jul 23, 2019

I've written a very simple code very largely inspired from leptonutil.

And each time the code execute camera, err := lepton3.New(30000000), I've got the following error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xd60c8]

goroutine 1 [running]:
github.com/TheCacophonyProject/lepton3.(*Lepton3).SetRadiometry(0x0, 0x100e101, 0x10b096c, 0x1)
	/Users/xxxxx/go/src/github.com/TheCacophonyProject/lepton3/lepton3.go:109 +0x14
main.main()
	/Users/xxxxx/go/src/test/test.go:72 +0x74

Do you know why I've got this issue?
Thanks in advance

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