panic: nil dereference in GithubProvider.getResponse()
briandealwis opened this issue · 0 comments
briandealwis commented
runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb25f07]
at github.com/google/triage-party/pkg/provider.(*GithubProvider).getResponse (github.go:64)
at github.com/google/triage-party/pkg/provider.(*GithubProvider).IssuesListByRepo (github.go:81)
at github.com/google/triage-party/pkg/hubbub.(*Engine).updateIssues (issue.go:87)
at github.com/google/triage-party/pkg/hubbub.(*Engine).cachedIssues (issue.go:46)
at github.com/google/triage-party/pkg/hubbub.(*Engine).SearchIssues.func1 (search.go:66)
The problem seems to be here:
triage-party/pkg/provider/github.go
Lines 77 to 82 in f6fe365
It looks like the go-github returns nil pointers for requests that error.