Skip to content

Instantly share code, notes, and snippets.

@corbanbrook
Created August 7, 2015 18:24
Show Gist options
  • Save corbanbrook/cce3668304ea839f8c4c to your computer and use it in GitHub Desktop.
Save corbanbrook/cce3668304ea839f8c4c to your computer and use it in GitHub Desktop.
14:23:51 app | 2015/08/07 14:23:51 INFO [corban.local/AzcAPuim0X-000050] Started GET "/invites/incoming" from [::1]:63410
14:23:51 app | 2015/08/07 14:23:51 INFO Recording err runtime error: invalid memory address or nil pointer dereference
14:23:52 app | 2015/08/07 14:23:52 INFO [corban.local/AzcAPuim0X-000050] panic: runtime error: invalid memory address or nil pointer dereference
14:23:52 app | /Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/recoverer.go:24 (0x2b0bfc)
func.005: debug.PrintStack()
/usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:401 (0x3cfe5)
call16: CALLFN(·call16, 16)
/usr/local/Cellar/go/1.4/libexec/src/runtime/panic.go:387 (0x14b28)
gopanic: reflectcall(unsafe.Pointer(d.fn), deferArgs(d), uint32(d.siz), uint32(d.siz))
/Users/corban/Projects/go/src/github.com/tobi/airbrake-go/airbrake.go:228 (0x51a8ad)
CapturePanic: panic(rec)
/usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:401 (0x3cfe5)
call16: CALLFN(·call16, 16)
/usr/local/Cellar/go/1.4/libexec/src/runtime/panic.go:387 (0x14b28)
gopanic: reflectcall(unsafe.Pointer(d.fn), deferArgs(d), uint32(d.siz), uint32(d.siz))
/usr/local/Cellar/go/1.4/libexec/src/runtime/panic.go:42 (0x13e4e)
panicmem: panic(memoryError)
/usr/local/Cellar/go/1.4/libexec/src/runtime/sigpanic_unix.go:26 (0x1a260)
sigpanic: panicmem()
/Users/corban/Projects/go/src/github.com/pressly/reeler/data/presenter/hub.go:30 (0x51cca1)
NewHub: account, err := data.DB.Account.FindByID(hub.AccountId)
/Users/corban/Projects/go/src/github.com/pressly/reeler/data/presenter/user_invite.go:58 (0x520893)
NewUserInvite: invite.Hub, _ = NewHub(hub, data.AnonymousUserRole)
/Users/corban/Projects/go/src/github.com/pressly/reeler/data/presenter/user_invite.go:74 (0x520b6d)
NewUserInvites: to[i], err = NewUserInvite(invite, tokenAuth)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/invites/invites.go:177 (0x28797b)
ListInvites: resp, err := presenter.NewUserInvites(invites, reeler.App.TokenAuth)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/web.go:54 (0x2abc45)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:60 (0x222017)
func.002: wh.ServeHTTPC(c, ww, rr)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/invites/invites.go:52 (0x28df2e)
func.002: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:69 (0x222077)
Handler.ServeHTTP.fm: fn = mw(http.HandlerFunc(newFn)).ServeHTTP
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:74 (0x2222e2)
func.003: fn(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/web.go:54 (0x2abc45)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/router.go:119 (0x2aa444)
(*router).route: match.Handler.ServeHTTPC(*c, w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware.go:88 (0x2abd20)
func.002: router.route(&cs.C, w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/api/acl/handlers.go:166 (0x2453b9)
func.004: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/api/acl/handlers.go:87 (0x2445a7)
func.002: ResourceControl(c, next).ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware.go:50 (0x2a6a11)
(*cStack).ServeHTTPC: s.m.ServeHTTP(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/mux.go:53 (0x2a7e74)
(*Mux).ServeHTTPC: stack.ServeHTTPC(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:60 (0x222017)
func.002: wh.ServeHTTPC(c, ww, rr)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/api/acl/handlers.go:35 (0x243d56)
func.001: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:69 (0x222077)
Handler.ServeHTTP.fm: fn = mw(http.HandlerFunc(newFn)).ServeHTTP
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:74 (0x2222e2)
func.003: fn(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/web.go:54 (0x2abc45)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:60 (0x222017)
func.002: wh.ServeHTTPC(c, ww, rr)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/session/routes.go:63 (0x29c670)
func.001: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:69 (0x222077)
Handler.ServeHTTP.fm: fn = mw(http.HandlerFunc(newFn)).ServeHTTP
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:74 (0x2222e2)
func.003: fn(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/web.go:54 (0x2abc45)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:60 (0x222017)
func.002: wh.ServeHTTPC(c, ww, rr)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pkieltyka/jwtauth/jwtauth.go:87 (0x16c893)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:69 (0x222077)
Handler.ServeHTTP.fm: fn = mw(http.HandlerFunc(newFn)).ServeHTTP
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:74 (0x2222e2)
func.003: fn(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/web.go:54 (0x2abc45)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:60 (0x222017)
func.002: wh.ServeHTTPC(c, ww, rr)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/api/middleware.go:61 (0x659e6)
func.004: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:69 (0x222077)
Handler.ServeHTTP.fm: fn = mw(http.HandlerFunc(newFn)).ServeHTTP
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:74 (0x2222e2)
func.003: fn(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/web.go:54 (0x2abc45)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:60 (0x222017)
func.002: wh.ServeHTTPC(c, ww, rr)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/subrouter.go:42 (0x2b0303)
subrouter.ServeHTTP: s.h.ServeHTTP(w, r)
<autogenerated>:2 (0x2b193f)
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:69 (0x222077)
Handler.ServeHTTP.fm: fn = mw(http.HandlerFunc(newFn)).ServeHTTP
/Users/corban/Projects/go/src/github.com/pressly/cji/inlineware.go:74 (0x2222e2)
func.003: fn(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/web.go:54 (0x2abc45)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/router.go:119 (0x2aa444)
(*router).route: match.Handler.ServeHTTPC(*c, w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware.go:88 (0x2abd20)
func.002: router.route(&cs.C, w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/api/hubmount/hubmount.go:31 (0x246fdf)
func.001: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/rs/cors/cors.go:177 (0x2a2f60)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/api/scoper/scoper.go:39 (0x247c29)
func.001: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/web/api/middleware.go:29 (0x65506)
func.003: next.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/gohttpware/heartbeat/heartbeat.go:18 (0x2233f3)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/nocache.go:51 (0x2b0a9b)
func.002: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/gohttpware/errorlog/airbrake.go:18 (0x222fce)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/recoverer.go:29 (0x2b0d6e)
func.006: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/logger.go:35 (0x2b0732)
func.001: h.ServeHTTP(lw, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/realip.go:31 (0x2b0b70)
func.004: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/request_id.go:68 (0x2b1085)
func.007: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1265 (0x121de1)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware/envinit.go:18 (0x2adc07)
envInit.ServeHTTP: e.h.ServeHTTP(w, r)
<autogenerated>:1 (0x2b172f)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/middleware.go:46 (0x2a6972)
(*cStack).ServeHTTP: s.m.ServeHTTP(w, r)
/Users/corban/Projects/go/src/github.com/zenazn/goji/web/mux.go:45 (0x2a7dc0)
(*Mux).ServeHTTP: stack.ServeHTTP(w, r)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1703 (0x123e6a)
serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/local/Cellar/go/1.4/libexec/src/net/http/server.go:1204 (0x121937)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:2232 (0x3f131)
goexit:
14:23:52 app | 2015/08/07 14:23:52 INFO [corban.local/AzcAPuim0X-000050] Returning 500 in 379.72597ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment