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

nil pointer dereference in url. #8

Open
cjslep opened this issue Aug 26, 2020 · 0 comments
Open

nil pointer dereference in url. #8

cjslep opened this issue Aug 26, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@cjslep
Copy link
Member

cjslep commented Aug 26, 2020

Noticed the site was down due to this SIGSEGV:

panic: runtime error: invalid memory address or nil pointer dereference

goroutine 13679 [running]:
net/url.(*URL).String
        /usr/local/go/src/net/url/url.go:775
github.com/go-fed/testsuite/server.(*Recorder).Add
        /Users/cjslep/go/src/github.com/go-fed/testsuite/server/recorder.go:54
github.com/go-fed/testsuite/server.(*baseTest).helperMustAddToDatabase
        /Users/cjslep/go/src/github.com/go-fed/testsuite/server/tests.go:269
github.com/go-fed/testsuite/server.newCommonTests.func1
        /Users/cjslep/go/src/github.com/go-fed/testsuite/server/tests.go:920
github.com/go-fed/testsuite/server.(*baseTest).MaybeRunResult
        /Users/cjslep/go/src/github.com/go-fed/testsuite/server/tests.go:256
github.com/go-fed/testsuite/server.(*TestRunner).iterate
        /Users/cjslep/go/src/github.com/go-fed/testsuite/server/testrunner.go:106
github.com/go-fed/testsuite/server.(*TestRunner).Run.func1
        /Users/cjslep/go/src/github.com/go-fed/testsuite/server/testrunner.go:71
created by github.com/go-fed/testsuite/server.(*TestRunner).Run
        /Users/cjslep/go/src/github.com/go-fed/testsuite/server/testrunner.go:65
@cjslep cjslep added the bug Something isn't working label Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant