PANIC: value method rt/core/models/media.Media.GetPath called using nil *Media pointer goroutine 44685160 [running]: github.com/urfave/negroni.(*Recovery).ServeHTTP.func1() /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:159 +0xc7 panic({0xfe5c20, 0xc000612a20}) /usr/local/go/src/runtime/panic.go:1038 +0x215 github.com/CloudyKit/jet.(*Runtime).recover(0x757854, 0xc0006a82b0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:227 +0xd4 panic({0xfe5c20, 0xc000612a20}) /usr/local/go/src/runtime/panic.go:1038 +0x215 rt/core/models/media.(*Media).GetPath(0x0, {0xc0006e6ef5, 0x1}) :1 +0xd3 reflect.Value.call({0x10a75e0, 0x0, 0x195f2c0}, {0x10d39c9, 0x4}, {0xc0006a7610, 0x1, 0xc0006a74b0}) /usr/local/go/src/reflect/value.go:556 +0x845 reflect.Value.Call({0x10a75e0, 0x0, 0xf88640}, {0xc0006a7610, 0x1, 0xa}) /usr/local/go/src/reflect/value.go:339 +0xc5 github.com/CloudyKit/jet.reflect_Call({0xc0006a7610, 0x1, 0xa}, 0xc0006a7690, {0x10a75e0, 0x0, 0x0}, {0xc0035c0d90, 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, {0x10a75e0, 0x0, 0x0}, {0xc0035c0d90, 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(0xc000615140, {0x10a75e0, 0x0, 0xc0006a78a0}, {0xc0035c0d90, 0x11dc7e0, 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(0xc0006a79b0, {0x11f2978, 0xc0008f3f40}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:578 +0x312 github.com/CloudyKit/jet.(*Runtime).evalCommandExpression(0xc00003d0b0, 0xc0018495c0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1147 +0x45 github.com/CloudyKit/jet.(*Runtime).evalPipelineExpression(0xc0155d5400, 0xc0155d5480) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1198 +0x3e github.com/CloudyKit/jet.(*Runtime).executeList(0xc000615140, 0xc0155d4c80) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:398 +0x1eb github.com/CloudyKit/jet.(*Runtime).executeList(0xc000615140, 0xc0155d49c0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:424 +0x487 github.com/CloudyKit/jet.(*Runtime).executeList(0xc000615140, 0xc0155d4880) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:424 +0x487 github.com/CloudyKit/jet.(*Runtime).executeList(0xc000615140, 0xc0005a4440) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:426 +0x46c github.com/CloudyKit/jet.(*Runtime).executeList(0xc000615140, 0xc000b8e680) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:534 +0xc9d github.com/CloudyKit/jet.(*Template).ExecuteI18N(0xc0009ea620, {0x0, 0x0}, {0x11dc460, 0xc0015f5350}, 0xc004f9ca80, {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(0xc0006a89a0, {0x10df545, 0x12}, {0x7fb87c3d5478, 0xc0028d4300}, {0x0, 0x0}) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/template/writer.go:92 +0x394 rt/frontend/vm/controllers.SiteController({0x7fb87c3d5478, 0xc0028d4300}, 0xc000116f00) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/frontend/vm/controllers/SiteController.go:239 +0x189d github.com/urfave/negroni.WrapFunc.func1({0x7fb87c3d5478, 0xc0028d4300}, 0x10062e0, 0xc0003ad520) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:56 +0x31 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000716c00, {0x7fb87c3d5478, 0xc0028d4300}, 0x7fb87cc800f8, 0x88) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de9e0, 0xc0003e2070}, 0xc0004a5ba8}, {0x7fb87c3d5478, 0xc0028d4300}, 0x11d4701) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/router.(*Router).GetNodeMiddleware(0x7fb8a5af5108, {0x7fb87c3d5478, 0xc0028d4300}, 0xc000116e00, 0xc0003ad500) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/router/middlewares.go:143 +0x665 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc000716c00, {0x7fb87c3d5478, 0xc0028d4300}, 0xc0004db3d0, 0x7555ea) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de9e0, 0xc00031d050}, 0xc0004a5b90}, {0x7fb87c3d5478, 0xc0028d4300}, 0xc0003a3360) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc000213110, {0x7fb87c3d5478, 0xc0028d42f8}, 0x10a9120) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 github.com/gorilla/mux.(*Router).ServeHTTP(0xc000513380, {0x7fb87c3d5478, 0xc0028d42f8}, 0xc000116c00) /go/pkg/mod/github.com/gorilla/mux@v1.7.3/mux.go:212 +0x202 github.com/urfave/negroni.Wrap.func1({0x7fb87c3d5478, 0xc0028d42f8}, 0x10062e0, 0xc0003ad4e0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:46 +0x4b github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xa, {0x7fb87c3d5478, 0xc0028d42f8}, 0x301c60, 0x75458d) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de9e0, 0xc000515f20}, 0xc000515f80}, {0x7fb87c3d5478, 0xc0028d42f8}, 0x815f00) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/logs.(*Logger).ServeHTTP(0x0, {0x7fb87c3d5478, 0xc0028d42f8}, 0xc000116c00, 0xc0003ad4c0) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/logs/logger.go:45 +0x9d github.com/urfave/negroni.middleware.ServeHTTP({{0x11de020, 0xc0000b6030}, 0xc000515f68}, {0x7fb87c3d5478, 0xc0028d42f8}, 0xc00058a8c8) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/rs/cors.(*Cors).ServeHTTP(0xc0000e8630, {0x7fb87c3d5478, 0xc0028d42f8}, 0xc000116c00, 0xc0003ad4a0) /go/pkg/mod/github.com/rs/cors@v1.7.0/cors.go:252 +0x17e github.com/urfave/negroni.middleware.ServeHTTP({{0x11dcd20, 0xc0000e8630}, 0xc000515f50}, {0x7fb87c3d5478, 0xc0028d42f8}, 0x20) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Recovery).ServeHTTP(0xc000716c00, {0x7fb87c3d5478, 0xc0028d42f8}, 0xc001c79a48, 0x7555ea) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:193 +0x8f github.com/urfave/negroni.middleware.ServeHTTP({{0x11dd640, 0xc0003e4550}, 0xc000515f38}, {0x7fb87c3d5478, 0xc0028d42f8}, 0x757854) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc0003efce0, {0x11e8d68, 0xc0009ea540}, 0x7ae62e) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 net/http.serverHandler.ServeHTTP({0xc004f9c720}, {0x11e8d68, 0xc0009ea540}, 0xc000116c00) /usr/local/go/src/net/http/server.go:2879 +0x43b net/http.(*conn).serve(0xc000500140, {0x11ee060, 0xc00017a690}) /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