Skip to content

Instantly share code, notes, and snippets.

@j100002ben
Created November 2, 2013 09:41
Show Gist options
  • Save j100002ben/7277256 to your computer and use it in GitHub Desktop.
Save j100002ben/7277256 to your computer and use it in GitHub Desktop.
2013/11/02 17:40:59 http: panic serving 127.0.0.1:9992: reflect: call of reflect.Value.Elem on zero Value
goroutine 4 [running]:
net/http.func·007()
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/server.go:1022 +0xaf
reflect.Value.Elem(0x0, 0x0, 0x0, 0x0, 0x0, ...)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/reflect/value.go:776 +0x228
github.com/c9s/gatsby/sqlutils.CheckRequired(0x0, 0x0, 0x40001555, 0xc)
c:/Users/Poka/news-catching/newscatching-go/src/github.com/c9s/gatsby/sqlutils/checker.go:11 +0x65
github.com/c9s/gatsby.Create(0xc0800fc240, 0xc0800e8120, 0x0, 0x0, 0x1, ...)
c:/Users/Poka/news-catching/newscatching-go/src/github.com/c9s/gatsby/create.go:19 +0x43
github.com/c9s/gatsby.(*BaseRecord).Create(0xc080102040, 0xc080102000)
c:/Users/Poka/news-catching/newscatching-go/src/github.com/c9s/gatsby/baserecord.go:85 +0xe8
main.AuthAction(0xc0800fc180, 0xc0800fd0e0, 0xc0800f8000)
c:/Users/Poka/news-catching/newscatching-go/src/news-catching/auth-server.go:23 +0x147
net/http.HandlerFunc.ServeHTTP(0x734340, 0xc0800fc180, 0xc0800fd0e0, 0xc0800f8000)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/server.go:1149 +0x41
net/http.(*ServeMux).ServeHTTP(0xc0800d3e40, 0xc0800fc180, 0xc0800fd0e0, 0xc0800f8000)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/server.go:1416 +0x120
net/http.serverHandler.ServeHTTP(0xc0800d45a0, 0xc0800fc180, 0xc0800fd0e0, 0xc0800f8000)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/server.go:1517 +0x16f
net/http.(*conn).serve(0xc0800ee000)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/server.go:1096 +0x768
created by net/http.(*Server).Serve
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist675583351/go/src/pkg/net/http/server.go:1564 +0x269
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment