PANIC: value method rt/core/models/media.Media.GetPath called using nil *Media pointer goroutine 36047269 [running]: github.com/urfave/negroni.(*Recovery).ServeHTTP.func1() /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:159 +0xc7 panic({0xfe5ac0, 0xc000b1e100}) /usr/local/go/src/runtime/panic.go:1038 +0x215 github.com/CloudyKit/jet.(*Runtime).recover(0x0, 0xc0009fe2b0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:227 +0xd4 panic({0xfe5ac0, 0xc000b1e100}) /usr/local/go/src/runtime/panic.go:1038 +0x215 rt/core/models/media.(*Media).GetPath(0x0, {0xc0009c4ef5, 0x1}) :1 +0xd3 reflect.Value.call({0x10a7480, 0x0, 0x195f2c0}, {0x10d3869, 0x4}, {0xc0009fd610, 0x1, 0xc0009fd4b0}) /usr/local/go/src/reflect/value.go:556 +0x845 reflect.Value.Call({0x10a7480, 0x0, 0xf884e0}, {0xc0009fd610, 0x1, 0xa}) /usr/local/go/src/reflect/value.go:339 +0xc5 github.com/CloudyKit/jet.reflect_Call({0xc0009fd610, 0x1, 0xa}, 0xc0009fd690, {0x10a7480, 0x0, 0x0}, {0xc000e1b1f0, 0x1, 0x1}, ...) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1257 +0x5fa github.com/CloudyKit/jet.reflect_Call10(0xa9acee, 0x0, {0x10a7480, 0x0, 0x0}, {0xc000e1b1f0, 0x0, 0x110c710}, {0x0, 0x0, ...}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1262 +0xcc github.com/CloudyKit/jet.(*Runtime).evalCallExpression(0xc000ab6b00, {0x10a7480, 0x0, 0xc0009fd8a0}, {0xc000e1b1f0, 0x11dc5c0, 0x1}, {0x0, 0x0, 0x0}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1134 +0x105 github.com/CloudyKit/jet.(*Runtime).evalPrimaryExpressionGroup(0xc0009fd9b0, {0x11f2758, 0xc0003abd10}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:578 +0x312 github.com/CloudyKit/jet.(*Runtime).evalCommandExpression(0xc00042c060, 0xc000a40c60) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1147 +0x45 github.com/CloudyKit/jet.(*Runtime).evalPipelineExpression(0xc00017dd00, 0xc0001e4040) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1198 +0x3e github.com/CloudyKit/jet.(*Runtime).executeList(0xc000ab6b00, 0xc000633180) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:398 +0x1eb github.com/CloudyKit/jet.(*Runtime).executeList(0xc000ab6b00, 0xc000632ec0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:424 +0x487 github.com/CloudyKit/jet.(*Runtime).executeList(0xc000ab6b00, 0xc000632d80) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:424 +0x487 github.com/CloudyKit/jet.(*Runtime).executeList(0xc000ab6b00, 0xc0005324c0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:426 +0x46c github.com/CloudyKit/jet.(*Runtime).executeList(0xc000ab6b00, 0xc00018d240) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:534 +0xc9d github.com/CloudyKit/jet.(*Template).ExecuteI18N(0xc00016a460, {0x0, 0x0}, {0x11dc240, 0xc000b59b00}, 0xc00020a180, {0x0, 0x0}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/template.go:401 +0x287 github.com/CloudyKit/jet.(*Template).Execute(...) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/template.go:374 rt/core/template.(*EngineWriter).Render(0xc0009fe9a0, {0x10df3cc, 0x12}, {0x7f1d739aca20, 0xc000de80c8}, {0x0, 0x0}) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/template/writer.go:92 +0x394 rt/frontend/vm/controllers.SiteController({0x7f1d739aca20, 0xc000de80c8}, 0xc000b98400) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/frontend/vm/controllers/SiteController.go:239 +0x189d github.com/urfave/negroni.WrapFunc.func1({0x7f1d739aca20, 0xc000de80c8}, 0x1006180, 0xc000188360) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:56 +0x31 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000088000, {0x7f1d739aca20, 0xc000de80c8}, 0x7f1d578e2f70, 0x88) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc0003a0020}, 0xc000509488}, {0x7f1d739aca20, 0xc000de80c8}, 0x11d4501) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/router.(*Router).GetNodeMiddleware(0x7f1d9c81ea68, {0x7f1d739aca20, 0xc000de80c8}, 0xc000b98300, 0xc000188340) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/router/middlewares.go:143 +0x665 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000088000, {0x7f1d739aca20, 0xc000de80c8}, 0xc00021f3d0, 0x7555ea) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc0002df040}, 0xc000509470}, {0x7f1d739aca20, 0xc000de80c8}, 0xc000334f00) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc0001828d0, {0x7f1d739aca20, 0xc000de80c0}, 0x10a8fc0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 github.com/gorilla/mux.(*Router).ServeHTTP(0xc0003e69c0, {0x7f1d739aca20, 0xc000de80c0}, 0xc000b98000) /go/pkg/mod/github.com/gorilla/mux@v1.7.3/mux.go:212 +0x202 github.com/urfave/negroni.Wrap.func1({0x7f1d739aca20, 0xc000de80c0}, 0x1006180, 0xc000188320) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:46 +0x4b github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xa, {0x7f1d739aca20, 0xc000de80c0}, 0x2dfdac, 0x75458d) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc0000ac138}, 0xc0000ac1c8}, {0x7f1d739aca20, 0xc000de80c0}, 0x815f00) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/logs.(*Logger).ServeHTTP(0x0, {0x7f1d739aca20, 0xc000de80c0}, 0xc000b98000, 0xc000188300) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/logs/logger.go:45 +0x9d github.com/urfave/negroni.middleware.ServeHTTP({{0x11dde00, 0xc000010048}, 0xc0000ac1b0}, {0x7f1d739aca20, 0xc000de80c0}, 0xc000146608) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/rs/cors.(*Cors).ServeHTTP(0xc00013a6e0, {0x7f1d739aca20, 0xc000de80c0}, 0xc000b98000, 0xc0001882e0) /go/pkg/mod/github.com/rs/cors@v1.7.0/cors.go:252 +0x17e github.com/urfave/negroni.middleware.ServeHTTP({{0x11dcb00, 0xc00013a6e0}, 0xc0000ac168}, {0x7f1d739aca20, 0xc000de80c0}, 0x20) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Recovery).ServeHTTP(0xc000088000, {0x7f1d739aca20, 0xc000de80c0}, 0xc0001a3a48, 0x7555ea) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:193 +0x8f github.com/urfave/negroni.middleware.ServeHTTP({{0x11dd420, 0xc0003a2550}, 0xc0000ac150}, {0x7f1d739aca20, 0xc000de80c0}, 0x757854) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc0003dad80, {0x11e8b48, 0xc00016a0e0}, 0x7ae62e) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 net/http.serverHandler.ServeHTTP({0xc000b58330}, {0x11e8b48, 0xc00016a0e0}, 0xc000b98000) /usr/local/go/src/net/http/server.go:2879 +0x43b net/http.(*conn).serve(0xc00048c0a0, {0x11ede40, 0xc00020be00}) /usr/local/go/src/net/http/server.go:1930 +0xb08 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:3034 +0x4e8