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

Things crashes #9

Open
garukun opened this issue Oct 27, 2016 · 0 comments
Open

Things crashes #9

garukun opened this issue Oct 27, 2016 · 0 comments
Labels

Comments

@garukun
Copy link
Owner

garukun commented Oct 27, 2016

2016/10/27 16:19:38 http: panic serving 10.20.109.0:3874: runtime error: invalid memory address or nil pointer dereference
goroutine 18 [running]:
net/http.(*conn).serve.func1(0xc4203a2180)
    /usr/local/go/src/net/http/server.go:1491 +0x12a
panic(0x76ff60, 0xc420018030)
    /usr/local/go/src/runtime/panic.go:458 +0x243
github.com/garukun/golgtm/pkg/lgtm/internal/adapters.(*IssueComment).validate(0xc42038c430, 0xc42039f1d0, 0xc42039f1d0, 0x0)
    /go/src/github.com/garukun/golgtm/pkg/lgtm/internal/adapters/issuecoment.go:64 +0x2a
github.com/garukun/golgtm/pkg/lgtm/internal/adapters.(*IssueComment).Adapt.func1(0x984660, 0xc4203c4820, 0xc4203ba0f0)
    /go/src/github.com/garukun/golgtm/pkg/lgtm/internal/adapters/issuecoment.go:34 +0x2c8
net/http.HandlerFunc.ServeHTTP(0xc4203ae130, 0x984660, 0xc4203c4820, 0xc4203ba0f0)
    /usr/local/go/src/net/http/server.go:1726 +0x44
github.com/garukun/golgtm/pkg/lgtm/internal/adapters.(*EventRouter).Adapt.func1(0x984660, 0xc4203c4820, 0xc4203ba0f0)
    /go/src/github.com/garukun/golgtm/pkg/lgtm/internal/adapters/eventrouter.go:27 +0x245
net/http.HandlerFunc.ServeHTTP(0xc420387800, 0x984660, 0xc4203c4820, 0xc4203ba0f0)
    /usr/local/go/src/net/http/server.go:1726 +0x44
github.com/garukun/golgtm/pkg/lgtm.(*LGTM).ServeHTTP(0xc4200fb080, 0x984660, 0xc4203c4820, 0xc4203ba0f0)
    /go/src/github.com/garukun/golgtm/pkg/lgtm/lgtm.go:42 +0x51
net/http.serverHandler.ServeHTTP(0xc42028b800, 0x984660, 0xc4203c4820, 0xc4203ba0f0)
    /usr/local/go/src/net/http/server.go:2202 +0x7d
net/http.(*conn).serve(0xc4203a2180, 0x984de0, 0xc42039b280)
    /usr/local/go/src/net/http/server.go:1579 +0x4b7
created by net/http.(*Server).Serve
    /usr/local/go/src/net/http/server.go:2293 +0x44d
@garukun garukun added the bug label Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant