Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019/06/26 10:13:52 [Recovery] 2019/06/26 - 10:13:52 panic recovered:
- GET /ping HTTP/1.1
- Host: localhost:8080
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- Accept-Encoding: gzip, deflate
- Accept-Language: en-US,en;q=0.5
- Cache-Control: max-age=0
- Connection: keep-alive
- Dnt: 1
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
- runtime error: invalid memory address or nil pointer dereference
- /usr/local/go/src/runtime/panic.go:82 (0x442320)
- panicmem: panic(memoryError)
- /usr/local/go/src/runtime/signal_unix.go:390 (0x44214f)
- sigpanic: panicmem()
- /usr/local/go/src/html/template/template.go:95 (0x78dacd)
- (*Template).escape: t.nameSpace.mu.Lock()
- /usr/local/go/src/html/template/template.go:119 (0x78dd2e)
- (*Template).Execute: if err := t.escape(); err != nil {
- /home/yuko/go/src/github.com/gin-gonic/gin/render/html.go:84 (0x8c837f)
- HTML.Render: return r.Template.Execute(w, r.Data)
- /home/yuko/go/src/github.com/gin-gonic/gin/context.go:808 (0x8d206e)
- (*Context).Render: if err := r.Render(c.Writer); err != nil {
- /home/yuko/go/src/github.com/gin-gonic/gin/context.go:818 (0x8d2145)
- (*Context).HTML: c.Render(code, instance)
- /home/yuko/go/src/github.com/yupangestu/gin/main.go:23 (0x8e553d)
- main.func2: c.HTML(http.StatusOK, "templates/example.html", gin.H{
- /home/yuko/go/src/github.com/gin-gonic/gin/context.go:147 (0x8ce1f9)
- (*Context).Next: c.handlers[c.index](c)
- /home/yuko/go/src/github.com/gin-gonic/gin/recovery.go:83 (0x8e18b9)
- RecoveryWithWriter.func1: c.Next()
- /home/yuko/go/src/github.com/gin-gonic/gin/context.go:147 (0x8ce1f9)
- (*Context).Next: c.handlers[c.index](c)
- /home/yuko/go/src/github.com/gin-gonic/gin/logger.go:240 (0x8e0960)
- LoggerWithConfig.func1: c.Next()
- /home/yuko/go/src/github.com/gin-gonic/gin/context.go:147 (0x8ce1f9)
- (*Context).Next: c.handlers[c.index](c)
- /home/yuko/go/src/github.com/gin-gonic/gin/gin.go:391 (0x8d7df9)
- (*Engine).handleHTTPRequest: c.Next()
- /home/yuko/go/src/github.com/gin-gonic/gin/gin.go:352 (0x8d74ed)
- (*Engine).ServeHTTP: engine.handleHTTPRequest(c)
- /usr/local/go/src/net/http/server.go:2774 (0x6b2da7)
- serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
- /usr/local/go/src/net/http/server.go:1878 (0x6ae990)
- (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
- /usr/local/go/src/runtime/asm_amd64.s:1337 (0x459bc0)
- goexit: BYTE $0x90 // NOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement