Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. 2019/07/19 09:39:19 http: panic serving [::1]:49986: runtime error: invalid memory address or nil pointer dereference
  2. goroutine 21 [running]:
  3. net/http.(*conn).serve.func1(0xc00005f860)
  4. c:/go/src/net/http/server.go:1769 +0x140
  5. panic(0x7caaa0, 0xb5b950)
  6. c:/go/src/runtime/panic.go:522 +0x1c3
  7. html/template.(*Template).lookupAndEscapeTemplate(0x0, 0x836264, 0xa, 0x0, 0x0, 0x0)
  8. c:/go/src/html/template/template.go:144 +0x4a
  9. html/template.(*Template).ExecuteTemplate(0x0, 0x8ba420, 0xc0001120e0, 0x836264,
  10. 0xa, 0x7c0540, 0xc00014c060, 0x815b20, 0x7a5f01)
  11. c:/go/src/html/template/template.go:133 +0x4a
  12. _/C_/golang/src/game/models.IndexHandler(0x8c0b20, 0xc0001120e0, 0xc000104400)
  13. C:/golang/src/game/models/index.go:13 +0xceb
  14. net/http.HandlerFunc.ServeHTTP(0x8508b0, 0x8c0b20, 0xc0001120e0, 0xc000104400)
  15. c:/go/src/net/http/server.go:1995 +0x4b
  16. github.com/gorilla/mux.(*Router).ServeHTTP(0xc0000ae0c0, 0x8c0b20, 0xc0001120e0,
  17. 0xc00012c000)
  18. C:/Users/jdevi/go/src/github.com/gorilla/mux/mux.go:212 +0xea
  19. net/http.(*ServeMux).ServeHTTP(0xb6b440, 0x8c0b20, 0xc0001120e0, 0xc00012c000)
  20. c:/go/src/net/http/server.go:2375 +0x1dd
  21. net/http.serverHandler.ServeHTTP(0xc00005cd00, 0x8c0b20, 0xc0001120e0, 0xc00012c000)
  22. c:/go/src/net/http/server.go:2774 +0xaf
  23. net/http.(*conn).serve(0xc00005f860, 0x8c11e0, 0xc00011e040)
  24. c:/go/src/net/http/server.go:1878 +0x858
  25. created by net/http.(*Server).Serve
  26. c:/go/src/net/http/server.go:2884 +0x2fb
  27. 2019/07/19 09:39:19 http: panic serving [::1]:49987: runtime error: invalid memory address or nil pointer dereference
  28. goroutine 34 [running]:
  29. net/http.(*conn).serve.func1(0xc000134000)
  30. c:/go/src/net/http/server.go:1769 +0x140
  31. panic(0x7caaa0, 0xb5b950)
  32. c:/go/src/runtime/panic.go:522 +0x1c3
  33. html/template.(*Template).lookupAndEscapeTemplate(0x0, 0x836264, 0xa, 0x0, 0x0, 0x0)
  34. c:/go/src/html/template/template.go:144 +0x4a
  35. html/template.(*Template).ExecuteTemplate(0x0, 0x8ba420, 0xc00018a000, 0x836264,
  36. 0xa, 0x7c0540, 0xc00017a150, 0x815b20, 0x7a5f01)
  37. c:/go/src/html/template/template.go:133 +0x4a
  38. _/C_/golang/src/game/models.IndexHandler(0x8c0b20, 0xc00018a000, 0xc000192100)
  39. C:/golang/src/game/models/index.go:13 +0xceb
  40. net/http.HandlerFunc.ServeHTTP(0x8508b0, 0x8c0b20, 0xc00018a000, 0xc000192100)
  41. c:/go/src/net/http/server.go:1995 +0x4b
  42. github.com/gorilla/mux.(*Router).ServeHTTP(0xc0000ae0c0, 0x8c0b20, 0xc00018a000,
  43. 0xc000104200)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement