Skip to content

Instantly share code, notes, and snippets.

@adelowo
Created December 23, 2018 21:30
Show Gist options
  • Save adelowo/d74a006e9d77d6be6fa41a50a5e09008 to your computer and use it in GitHub Desktop.
Save adelowo/d74a006e9d77d6be6fa41a50a5e09008 to your computer and use it in GitHub Desktop.
2018/12/23 22:21:55 [T] AppPath: /Users/lanreadelowo/go/src/code.gitea.io/gitea/gitea
2018/12/23 22:21:55 [T] AppWorkPath: /Users/lanreadelowo/go/src/code.gitea.io/gitea
2018/12/23 22:21:55 [T] Custom path: /Users/lanreadelowo/go/src/code.gitea.io/gitea/custom
2018/12/23 22:21:55 [T] Log path: /Users/lanreadelowo/go/src/code.gitea.io/gitea/log
2018/12/23 22:21:56 Serving [::]:4000 with pid 30852
[Macaron] 2018-12-23 22:22:10: Started POST /api/v1/repos/ooasawd/jjhss/issues/1/deadline for [::1]
[Macaron] PANIC: runtime error: invalid memory address or nil pointer dereference
/usr/local/Cellar/go/1.11.1/libexec/src/runtime/panic.go:513 (0x102db08)
gopanic: reflectcall(nil, unsafe.Pointer(d.fn), deferArgs(d), uint32(d.siz), uint32(d.siz))
/usr/local/Cellar/go/1.11.1/libexec/src/runtime/panic.go:82 (0x102cc5d)
panicmem: panic(memoryError)
/usr/local/Cellar/go/1.11.1/libexec/src/runtime/signal_unix.go:390 (0x1043d11)
sigpanic: panicmem()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/models/repo.go:409 (0x1a4ea46)
(*Repository).getOwner: if repo.Owner != nil {
/Users/lanreadelowo/go/src/code.gitea.io/gitea/models/issue_comment.go:529 (0x1a03847)
createComment: if err = opts.Repo.getOwner(e); err != nil {
/Users/lanreadelowo/go/src/code.gitea.io/gitea/models/issue_comment.go:711 (0x1a04f03)
createDeadlineComment: return createComment(e, &CreateCommentOptions{
/Users/lanreadelowo/go/src/code.gitea.io/gitea/models/issue.go:1683 (0x19fe585)
UpdateIssueDeadline: if _, err = createDeadlineComment(sess, doer, issue, deadlineUnix); err != nil {
/Users/lanreadelowo/go/src/code.gitea.io/gitea/routers/api/v1/repo/issue.go:417 (0x1c60bc0)
UpdateIssueDeadline: if err := models.UpdateIssueDeadline(issue, deadlineUnix, ctx.User); err != nil {
/usr/local/Cellar/go/1.11.1/libexec/src/runtime/asm_amd64.s:522 (0x105c5ba)
call32: CALLFN(·call32, 32)
/usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:447 (0x10c0568)
Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
/usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:308 (0x10c0003)
Value.Call: return v.call("Call", in)
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:177 (0x155f843)
(*injector).callInvoke: return reflect.ValueOf(f).Call(in), nil
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:137 (0x155f1a9)
(*injector).Invoke: return inj.callInvoke(f, t, t.NumIn())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x158d330)
(*Context).run: vals, err := c.Invoke(c.handler())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:112 (0x158d24e)
(*Context).Next: c.run()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/session/session.go:188 (0x15e0fee)
Sessioner.func1: ctx.Next()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:79 (0x158d1d0)
ContextInvoker.Invoke: invoke(params[0].(*Context))
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:157 (0x155f530)
(*injector).fastInvoke: return f.Invoke(in)
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:135 (0x155f29b)
(*injector).Invoke: return inj.fastInvoke(v, t, t.NumIn())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x158d330)
(*Context).run: vals, err := c.Invoke(c.handler())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:112 (0x158d24e)
(*Context).Next: c.run()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/recovery.go:161 (0x159e00a)
Recovery.func1: c.Next()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/logger.go:40 (0x15904d3)
LoggerInvoker.Invoke: invoke(params[0].(*Context), params[1].(*log.Logger))
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:157 (0x155f530)
(*injector).fastInvoke: return f.Invoke(in)
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:135 (0x155f29b)
(*injector).Invoke: return inj.fastInvoke(v, t, t.NumIn())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x158d330)
(*Context).run: vals, err := c.Invoke(c.handler())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:112 (0x158d24e)
(*Context).Next: c.run()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/logger.go:52 (0x159d320)
Logger.func1: ctx.Next()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/logger.go:40 (0x15904d3)
LoggerInvoker.Invoke: invoke(params[0].(*Context), params[1].(*log.Logger))
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:157 (0x155f530)
(*injector).fastInvoke: return f.Invoke(in)
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:135 (0x155f29b)
(*injector).Invoke: return inj.fastInvoke(v, t, t.NumIn())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/context.go:121 (0x158d330)
(*Context).run: vals, err := c.Invoke(c.handler())
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/router.go:187 (0x159f204)
(*Router).Handle.func1: c.run()
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/router.go:303 (0x1598b5e)
(*Router).ServeHTTP: h(rw, req, p)
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/gopkg.in/macaron.v1/macaron.go:220 (0x15917c1)
(*Macaron).ServeHTTP: m.Router.ServeHTTP(rw, req)
/Users/lanreadelowo/go/src/code.gitea.io/gitea/vendor/github.com/gorilla/context/context.go:141 (0x18fc79a)
ClearHandler.func1: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.11.1/libexec/src/net/http/server.go:1964 (0x12c1443)
HandlerFunc.ServeHTTP: f(w, r)
/usr/local/Cellar/go/1.11.1/libexec/src/net/http/server.go:2741 (0x12c413a)
serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/local/Cellar/go/1.11.1/libexec/src/net/http/server.go:1847 (0x12c04a5)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/local/Cellar/go/1.11.1/libexec/src/runtime/asm_amd64.s:1333 (0x105e2b0)
goexit: BYTE $0x90 // NOP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment