PANIC: value method rt/core/models/media.Media.GetPath called using nil *Media pointer goroutine 36319658 [running]: github.com/urfave/negroni.(*Recovery).ServeHTTP.func1() /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:159 +0xc7 panic({0xfe5ac0, 0xc001467d90}) /usr/local/go/src/runtime/panic.go:1038 +0x215 github.com/CloudyKit/jet.(*Runtime).recover(0x757854, 0xc0008922b0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:227 +0xd4 panic({0xfe5ac0, 0xc001467d90}) /usr/local/go/src/runtime/panic.go:1038 +0x215 rt/core/models/media.(*Media).GetPath(0x0, {0xc0007f3ee7, 0x1}) :1 +0xd3 reflect.Value.call({0x10a7480, 0x0, 0x195f2c0}, {0x10d3869, 0x4}, {0xc000891950, 0x1, 0xc0008917f0}) /usr/local/go/src/reflect/value.go:556 +0x845 reflect.Value.Call({0x10a7480, 0x0, 0xf884e0}, {0xc000891950, 0x1, 0xa}) /usr/local/go/src/reflect/value.go:339 +0xc5 github.com/CloudyKit/jet.reflect_Call({0xc000891950, 0x1, 0xa}, 0xc0008919d0, {0x10a7480, 0x0, 0x0}, {0xc001467540, 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}, {0xc001467540, 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(0xc0007fef00, {0x10a7480, 0x0, 0xc000891be0}, {0xc001467540, 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(0xc000891cf0, {0x11f2758, 0xc000364a50}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:578 +0x312 github.com/CloudyKit/jet.(*Runtime).evalCommandExpression(0xc000215350, 0xc00175a900) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1147 +0x45 github.com/CloudyKit/jet.(*Runtime).evalPipelineExpression(0xc000384200, 0xc000384300) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1198 +0x3e github.com/CloudyKit/jet.(*Runtime).executeList(0xc0007fef00, 0xc0008e58c0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:398 +0x1eb github.com/CloudyKit/jet.(*Runtime).executeList(0xc0007fef00, 0xc0005e4bc0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:424 +0x487 github.com/CloudyKit/jet.(*Runtime).executeList(0xc0007fef00, 0xc00030e900) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:534 +0xc9d github.com/CloudyKit/jet.(*Template).ExecuteI18N(0xc0000c20e0, {0x0, 0x0}, {0x11dc240, 0xc0003dc150}, 0xc0003d2690, {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(0xc0008929a0, {0x10e2d3d, 0x15}, {0x7f6c641262f8, 0xc0012d8010}, {0x0, 0x0}) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/template/writer.go:92 +0x394 rt/frontend/vm/controllers.SiteController({0x7f6c641262f8, 0xc0012d8010}, 0xc0008b8400) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/frontend/vm/controllers/SiteController.go:239 +0x189d github.com/urfave/negroni.WrapFunc.func1({0x7f6c641262f8, 0xc0012d8010}, 0x1006180, 0xc0003143e0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:56 +0x31 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000052800, {0x7f6c641262f8, 0xc0012d8010}, 0x7f6c5c309fd8, 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, 0xc0012d8010}, 0x11d4501) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/router.(*Router).GetNodeMiddleware(0x7f6c8d8b7f18, {0x7f6c641262f8, 0xc0012d8010}, 0xc0008b8300, 0xc000314200) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/router/middlewares.go:143 +0x665 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000052800, {0x7f6c641262f8, 0xc0012d8010}, 0xc0002473d0, 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, 0xc0012d8010}, 0xc000418d20) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc00012a1e0, {0x7f6c641262f8, 0xc0012d8008}, 0x10a8fc0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 github.com/gorilla/mux.(*Router).ServeHTTP(0xc00048b200, {0x7f6c641262f8, 0xc0012d8008}, 0xc0008b8100) /go/pkg/mod/github.com/gorilla/mux@v1.7.3/mux.go:212 +0x202 github.com/urfave/negroni.Wrap.func1({0x7f6c641262f8, 0xc0012d8008}, 0x1006180, 0xc0003141e0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:46 +0x4b github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xa, {0x7f6c641262f8, 0xc0012d8008}, 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, 0xc0012d8008}, 0x815f00) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/logs.(*Logger).ServeHTTP(0x0, {0x7f6c641262f8, 0xc0012d8008}, 0xc0008b8100, 0xc0003141a0) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/logs/logger.go:45 +0x9d github.com/urfave/negroni.middleware.ServeHTTP({{0x11dde00, 0xc0000b6048}, 0xc00019c270}, {0x7f6c641262f8, 0xc0012d8008}, 0xc000146608) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/rs/cors.(*Cors).ServeHTTP(0xc0000e26e0, {0x7f6c641262f8, 0xc0012d8008}, 0xc0008b8100, 0xc000314100) /go/pkg/mod/github.com/rs/cors@v1.7.0/cors.go:252 +0x17e github.com/urfave/negroni.middleware.ServeHTTP({{0x11dcb00, 0xc0000e26e0}, 0xc00019c258}, {0x7f6c641262f8, 0xc0012d8008}, 0x20) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Recovery).ServeHTTP(0xc000052800, {0x7f6c641262f8, 0xc0012d8008}, 0xc0007b3a48, 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, 0xc0012d8008}, 0x757854) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc000488570, {0x11e8b48, 0xc0000c2000}, 0x7ae62e) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 net/http.serverHandler.ServeHTTP({0xc000170150}, {0x11e8b48, 0xc0000c2000}, 0xc0008b8100) /usr/local/go/src/net/http/server.go:2879 +0x43b net/http.(*conn).serve(0xc0003cc000, {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