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

Loading UI immediately causes panic: runtime error #1

Open
moertel opened this issue Dec 7, 2017 · 0 comments
Open

Loading UI immediately causes panic: runtime error #1

moertel opened this issue Dec 7, 2017 · 0 comments

Comments

@moertel
Copy link

moertel commented Dec 7, 2017

Starting the image works fine. However, as soon as I visit the site in the browser, the following stack trace appears in the logs (while the UI remains stuck at "Loading image spies for the first time..."):

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

goroutine 23 [running]:
github.com/imagespy/imagespy/vendor/github.com/imagespy/client-go.(*requester).send(0xc42027c830, 0xc42030ea00, 0xc42038a280, 0x48, 0x0)
	/go/src/github.com/imagespy/imagespy/vendor/github.com/imagespy/client-go/client.go:81 +0x24f
github.com/imagespy/imagespy/vendor/github.com/imagespy/client-go.(*requester).readAsJSON(0xc42027c830, 0xc4203102a0, 0x25, 0xc4202b4440, 0x1a, 0xc4203102a0)
	/go/src/github.com/imagespy/imagespy/vendor/github.com/imagespy/client-go/client.go:40 +0xed
github.com/imagespy/imagespy/vendor/github.com/imagespy/client-go.(*ImageSpyService).Get(0xc42027c850, 0xc4202b4440, 0x1a, 0x0, 0x0, 0x0)
	/go/src/github.com/imagespy/imagespy/vendor/github.com/imagespy/client-go/image.go:33 +0x93
github.com/imagespy/imagespy/web.(*SpiesHandler).Get.func1(0xc4201f4a80, 0xc4202c4a50, 0xc4202e8180, 0xc4202bd1d0)
	/go/src/github.com/imagespy/imagespy/web/web.go:48 +0x56
created by github.com/imagespy/imagespy/web.(*SpiesHandler).Get
	/go/src/github.com/imagespy/imagespy/web/web.go:47 +0x131

The only odd thing about some of our (private) images might be that they may contain additional / characters in them, e.g. an image name might be our-registry-server.com/path/to/someimage:latest.

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