PANIC: value method rt/core/models/media.Media.GetPath called using nil *Media pointer goroutine 34931267 [running]: github.com/urfave/negroni.(*Recovery).ServeHTTP.func1() /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:159 +0xc7 panic({0xfe5ac0, 0xc000c25c00}) /usr/local/go/src/runtime/panic.go:1038 +0x215 github.com/CloudyKit/jet.(*Runtime).recover(0x757854, 0xc0005982b0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:227 +0xd4 panic({0xfe5ac0, 0xc000c25c00}) /usr/local/go/src/runtime/panic.go:1038 +0x215 rt/core/models/media.(*Media).GetPath(0x0, {0xc0007583e7, 0x1}) :1 +0xd3 reflect.Value.call({0x10a7480, 0x0, 0x195f2c0}, {0x10d3869, 0x4}, {0xc000597950, 0x1, 0xc0005977f0}) /usr/local/go/src/reflect/value.go:556 +0x845 reflect.Value.Call({0x10a7480, 0x0, 0xf884e0}, {0xc000597950, 0x1, 0xa}) /usr/local/go/src/reflect/value.go:339 +0xc5 github.com/CloudyKit/jet.reflect_Call({0xc000597950, 0x1, 0xa}, 0xc0005979d0, {0x10a7480, 0x0, 0x0}, {0xc0009a21b0, 0x1, 0x1}, ...) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1257 +0x5fa github.com/CloudyKit/jet.reflect_Call10(0x7d7937, 0x0, {0x10a7480, 0x0, 0x0}, {0xc0009a21b0, 0x0, 0x7c9a3e}, {0x0, 0x0, ...}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1262 +0xcc github.com/CloudyKit/jet.(*Runtime).evalCallExpression(0xc000332300, {0x10a7480, 0x0, 0xc000597be0}, {0xc0009a21b0, 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(0xc000597cf0, {0x11f2758, 0xc000984780}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:578 +0x312 github.com/CloudyKit/jet.(*Runtime).evalCommandExpression(0xc00034cbd0, 0xc0009425a0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1147 +0x45 github.com/CloudyKit/jet.(*Runtime).evalPipelineExpression(0xc0004ff1c0, 0xc0004ff240) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1198 +0x3e github.com/CloudyKit/jet.(*Runtime).executeList(0xc000332300, 0xc0004fe8c0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:398 +0x1eb github.com/CloudyKit/jet.(*Runtime).executeList(0xc000332300, 0xc0002e3d40) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:424 +0x487 github.com/CloudyKit/jet.(*Runtime).executeList(0xc000332300, 0xc0004f6480) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:534 +0xc9d github.com/CloudyKit/jet.(*Template).ExecuteI18N(0xc0001181c0, {0x0, 0x0}, {0x11dc240, 0xc00039e870}, 0xc001e50120, {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(0xc0005989a0, {0x10e2d3d, 0x15}, {0x7f6c641262f8, 0xc000704300}, {0x0, 0x0}) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/template/writer.go:92 +0x394 rt/frontend/vm/controllers.SiteController({0x7f6c641262f8, 0xc000704300}, 0xc00078c300) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/frontend/vm/controllers/SiteController.go:239 +0x189d github.com/urfave/negroni.WrapFunc.func1({0x7f6c641262f8, 0xc000704300}, 0x1006180, 0xc000d960c0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:56 +0x31 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000052c00, {0x7f6c641262f8, 0xc000704300}, 0x7f6c64a4cae0, 0x88) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc0004581d0}, 0xc00000f938}, {0x7f6c641262f8, 0xc000704300}, 0x11d4501) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/router.(*Router).GetNodeMiddleware(0x7f6c8d8b7108, {0x7f6c641262f8, 0xc000704300}, 0xc00078c200, 0xc000d960a0) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/router/middlewares.go:143 +0x665 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000052c00, {0x7f6c641262f8, 0xc000704300}, 0xc0002493d0, 0x7555ea) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc0003910b0}, 0xc00000f920}, {0x7f6c641262f8, 0xc000704300}, 0xc000418d20) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc00012a1e0, {0x7f6c641262f8, 0xc000704150}, 0x10a8fc0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00048b200, {0x7f6c641262f8, 0xc000704150}, 0xc00078c000) /go/pkg/mod/github.com/gorilla/mux@v1.7.3/mux.go:212 +0x202 github.com/urfave/negroni.Wrap.func1({0x7f6c641262f8, 0xc000704150}, 0x1006180, 0xc000d96080) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:46 +0x4b github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xa, {0x7f6c641262f8, 0xc000704150}, 0x0, 0x75458d) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc00019c228}, 0xc00019c288}, {0x7f6c641262f8, 0xc000704150}, 0x815f00) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/logs.(*Logger).ServeHTTP(0x0, {0x7f6c641262f8, 0xc000704150}, 0xc00078c000, 0xc000d96060) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/logs/logger.go:45 +0x9d github.com/urfave/negroni.middleware.ServeHTTP({{0x11dde00, 0xc0000b6048}, 0xc00019c270}, {0x7f6c641262f8, 0xc000704150}, 0xc0002a21e8) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/rs/cors.(*Cors).ServeHTTP(0xc0000e26e0, {0x7f6c641262f8, 0xc000704150}, 0xc00078c000, 0xc000d96040) /go/pkg/mod/github.com/rs/cors@v1.7.0/cors.go:252 +0x17e github.com/urfave/negroni.middleware.ServeHTTP({{0x11dcb00, 0xc0000e26e0}, 0xc00019c258}, {0x7f6c641262f8, 0xc000704150}, 0x20) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Recovery).ServeHTTP(0xc000052c00, {0x7f6c641262f8, 0xc000704150}, 0xc0006a4a48, 0x7555ea) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:193 +0x8f github.com/urfave/negroni.middleware.ServeHTTP({{0x11dd420, 0xc00045a500}, 0xc00019c240}, {0x7f6c641262f8, 0xc000704150}, 0x757854) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc000488570, {0x11e8b48, 0xc0000c20e0}, 0x7ae62e) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 net/http.serverHandler.ServeHTTP({0xc00039e0c0}, {0x11e8b48, 0xc0000c20e0}, 0xc00078c000) /usr/local/go/src/net/http/server.go:2879 +0x43b net/http.(*conn).serve(0xc0004ba1e0, {0x11ede40, 0xc000171080}) /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