Skip to content

Instantly share code, notes, and snippets.

@merickson
Created December 7, 2016 18:09
Show Gist options
  • Save merickson/a5c4a67fc7c14fcc1ac624a5af57134b to your computer and use it in GitHub Desktop.
Save merickson/a5c4a67fc7c14fcc1ac624a5af57134b to your computer and use it in GitHub Desktop.
2016/12/07 12:07:48 METHOD: Config
2016-12-07 12:07:48.712 flowappglue[90526:20209945] FLOHttpHandler run, tid: <NSThread: 0x5203200>{number = 2, name = (null)}
2016-12-07 12:07:48.713 flowappglue[90526:20209945] FLOHttpHandler run, about to resume task
2016-12-07 12:07:48.713 flowappglue[90526:20210148] FLOHttpHandler run, tid: <NSThread: 0x5204b20>{number = 3, name = (null)}
2016-12-07 12:07:48.714 flowappglue[90526:20210148] FLOHttpHandler run, about to resume task
runtime error: invalid memory address or nil pointer dereference
goroutine 33 [running]:
runtime/debug.Stack(0xc420059248, 0x46732a0, 0xc4200100e0)
/usr/local/Cellar/go/1.7.4/libexec/src/runtime/debug/stack.go:24 +0x79
github.com/ant0ine/go-json-rest/rest.(*RecoverMiddleware).MiddlewareFunc.func1.1(0xc4200112b0, 0x499e720, 0xc42023c870)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/recover.go:41 +0x6e
panic(0x46732a0, 0xc4200100e0)
/usr/local/Cellar/go/1.7.4/libexec/src/runtime/panic.go:458 +0x243
treehouse.spideroak.com/flow/flowapp/client_backend.(*ClientBackend).getLocalAccountId(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowapp/client_backend/local_account.go:48 +0x62
treehouse.spideroak.com/flow/flowapp/client_backend.(*ClientBackend).GetLocalAccountRow(0x0, 0x0, 0x0, 0xc4202380c8)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowapp/client_backend/local_account.go:36 +0x2f
treehouse.spideroak.com/flow/flowapp.(*flowAppImpl).Identifier(0xc4202c6240, 0xc4201387b0, 0x1, 0xc420276050, 0x1)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowapp/implementation.go:118 +0x39
treehouse.spideroak.com/flow/flowappglue/glue/private.Identifier(0xc42021e8b0, 0xc4200595f0, 0x4627f20, 0xc420233080)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowappglue/glue/private/identifier.go:22 +0xea
treehouse.spideroak.com/flow/flowappglue/glue.identifier(0x463e4a0, 0xc420233000, 0xc42021e810, 0xa, 0xc4201b7830, 0x2b6cad830407d901, 0xecfda4712)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowappglue/glue/identifier.go:25 +0x167
treehouse.spideroak.com/flow/flowappglue/glue.dispatch(0xc42021e810, 0xa, 0x463e4a0, 0xc420233000, 0xc420088e18, 0x0, 0x0)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowappglue/glue/implementation.go:222 +0x98
treehouse.spideroak.com/flow/flowappglue/glue.Run(0xc420198024, 0x32, 0x40, 0x32, 0x40, 0x0)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowappglue/glue/implementation.go:252 +0x3dd
main.rpc(0x499e6e0, 0xc42023ab80, 0xc420232da0)
/Users/matt/git/flowproject/src/treehouse.spideroak.com/flow/flowappglue/main.go:169 +0x4b7
github.com/ant0ine/go-json-rest/rest.(*router).AppFunc.func1(0x499e6e0, 0xc42023ab80, 0xc420232da0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/router.go:56 +0xa4
github.com/ant0ine/go-json-rest/rest.(*ContentTypeCheckerMiddleware).MiddlewareFunc.func1(0x499e6e0, 0xc42023ab80, 0xc420232da0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/content_type_checker.go:38 +0x1fe
github.com/ant0ine/go-json-rest/rest.(*JsonIndentMiddleware).MiddlewareFunc.func1(0x499e720, 0xc42023c870, 0xc420232da0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/json_indent.go:35 +0xd5
github.com/ant0ine/go-json-rest/rest.(*RecoverMiddleware).MiddlewareFunc.func1(0x499e720, 0xc42023c870, 0xc420232da0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/recover.go:57 +0x8a
github.com/ant0ine/go-json-rest/rest.(*PoweredByMiddleware).MiddlewareFunc.func1(0x499e720, 0xc42023c870, 0xc420232da0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/powered_by.go:26 +0xae
github.com/ant0ine/go-json-rest/rest.(*RecorderMiddleware).MiddlewareFunc.func1(0x499e760, 0xc420232dc0, 0xc420232da0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/recorder.go:22 +0xc4
github.com/ant0ine/go-json-rest/rest.(*TimerMiddleware).MiddlewareFunc.func1(0x499e760, 0xc420232dc0, 0xc420232da0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/timer.go:20 +0x11e
github.com/ant0ine/go-json-rest/rest.adapterFunc.func1(0x499d860, 0xc420258000, 0xc4202dc0f0)
/Users/matt/go/src/github.com/ant0ine/go-json-rest/rest/middleware.go:70 +0x10c
net/http.HandlerFunc.ServeHTTP(0xc42013c540, 0x499d860, 0xc420258000, 0xc4202dc0f0)
/usr/local/Cellar/go/1.7.4/libexec/src/net/http/server.go:1726 +0x44
net/http.serverHandler.ServeHTTP(0xc420144300, 0x499d860, 0xc420258000, 0xc4202dc0f0)
/usr/local/Cellar/go/1.7.4/libexec/src/net/http/server.go:2202 +0x7d
net/http.(*conn).serve(0xc420144200, 0x499e460, 0xc42023aa40)
/usr/local/Cellar/go/1.7.4/libexec/src/net/http/server.go:1579 +0x4b7
created by net/http.(*Server).Serve
/usr/local/Cellar/go/1.7.4/libexec/src/net/http/server.go:2293 +0x44d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment