Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Invalid memory address issue #21

Open
Kidd-Sisco opened this issue Jun 10, 2019 · 0 comments
Open

Invalid memory address issue #21

Kidd-Sisco opened this issue Jun 10, 2019 · 0 comments

Comments

@Kidd-Sisco
Copy link

Running the binary without docker and receiving this error:

[user@servername ~]$ ./prometheus-pingdom-exporter server [email protected] mypassword my_pingdom_api_key
2019/06/10 11:59:34 Listening on port 8000
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x534be8]

goroutine 19 [running]:
panic(0x778b80, 0xc420010090)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/russellcardullo/go-pingdom/pingdom.(*CheckService).List(0xc420106008, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/code/.gobuild/src/github.com/russellcardullo/go-pingdom/pingdom/check.go:32 +0x108
github.com/giantswarm/prometheus-pingdom-exporter/cmd.serverRun.func1(0xc4200fe120)
/usr/code/.gobuild/src/github.com/giantswarm/prometheus-pingdom-exporter/cmd/server.go:76 +0x65
created by github.com/giantswarm/prometheus-pingdom-exporter/cmd.serverRun
/usr/code/.gobuild/src/github.com/giantswarm/prometheus-pingdom-exporter/cmd/server.go:133 +0xca

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

No branches or pull requests

1 participant