PANIC: value method rt/core/models/media.Media.GetPath called using nil *Media pointer goroutine 37996307 [running]: github.com/urfave/negroni.(*Recovery).ServeHTTP.func1() /go/pkg/mod/github.com/urfave/negroni@v1.0.0/recovery.go:159 +0xc7 panic({0xfe5ac0, 0xc0006bddd0}) /usr/local/go/src/runtime/panic.go:1038 +0x215 github.com/CloudyKit/jet.(*Runtime).recover(0x757854, 0xc0008fe2b0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:227 +0xd4 panic({0xfe5ac0, 0xc0006bddd0}) /usr/local/go/src/runtime/panic.go:1038 +0x215 rt/core/models/media.(*Media).GetPath(0x0, {0xc0007bcde7, 0x1}) :1 +0xd3 reflect.Value.call({0x10a7480, 0x0, 0x195f2c0}, {0x10d3869, 0x4}, {0xc0008fd950, 0x1, 0xc0008fd7f0}) /usr/local/go/src/reflect/value.go:556 +0x845 reflect.Value.Call({0x10a7480, 0x0, 0xf884e0}, {0xc0008fd950, 0x1, 0xa}) /usr/local/go/src/reflect/value.go:339 +0xc5 github.com/CloudyKit/jet.reflect_Call({0xc0008fd950, 0x1, 0xa}, 0xc0008fd9d0, {0x10a7480, 0x0, 0x0}, {0xc0006bd770, 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, 0x10}, {0xc0006bd770, 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(0xc0000ed940, {0x10a7480, 0x0, 0xc0008fdbe0}, {0xc0006bd770, 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(0xc0008fdcf0, {0x11f2758, 0xc0003002d0}) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:578 +0x312 github.com/CloudyKit/jet.(*Runtime).evalCommandExpression(0xc0000a6c60, 0xc00180f620) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1147 +0x45 github.com/CloudyKit/jet.(*Runtime).evalPipelineExpression(0xc001698040, 0xc0016980c0) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:1198 +0x3e github.com/CloudyKit/jet.(*Runtime).executeList(0xc0000ed940, 0xc000a73700) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:398 +0x1eb github.com/CloudyKit/jet.(*Runtime).executeList(0xc0000ed940, 0xc000b1ce80) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:424 +0x487 github.com/CloudyKit/jet.(*Runtime).executeList(0xc0000ed940, 0xc0000ec100) /go/pkg/mod/github.com/!cloudy!kit/jet@v2.1.2+incompatible/eval.go:534 +0xc9d github.com/CloudyKit/jet.(*Template).ExecuteI18N(0xc0000d4620, {0x0, 0x0}, {0x11dc240, 0xc000336bd0}, 0xc000cfd2f0, {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(0xc0008fe9a0, {0x10e2d3d, 0x15}, {0x7f1d739aca20, 0xc000de83b8}, {0x0, 0x0}) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/template/writer.go:92 +0x394 rt/frontend/vm/controllers.SiteController({0x7f1d739aca20, 0xc000de83b8}, 0xc00062af00) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/frontend/vm/controllers/SiteController.go:239 +0x189d github.com/urfave/negroni.WrapFunc.func1({0x7f1d739aca20, 0xc000de83b8}, 0x1006180, 0xc0004014e0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:56 +0x31 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc00069c800, {0x7f1d739aca20, 0xc000de83b8}, 0x7f1d578e2f70, 0x88) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc0003a0160}, 0xc000509848}, {0x7f1d739aca20, 0xc000de83b8}, 0x11d4501) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/router.(*Router).GetNodeMiddleware(0x7f1d9c81e5b8, {0x7f1d739aca20, 0xc000de83b8}, 0xc00062ae00, 0xc0004014a0) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/router/middlewares.go:143 +0x665 github.com/urfave/negroni.HandlerFunc.ServeHTTP(0xc00069c800, {0x7f1d739aca20, 0xc000de83b8}, 0xc00047b3d0, 0x7555ea) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29 +0x33 github.com/urfave/negroni.middleware.ServeHTTP({{0x11de7c0, 0xc0002df040}, 0xc000509830}, {0x7f1d739aca20, 0xc000de83b8}, 0xc0003605a0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc0001836e0, {0x7f1d739aca20, 0xc000de83b0}, 0x10a8fc0) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 github.com/gorilla/mux.(*Router).ServeHTTP(0xc0003e69c0, {0x7f1d739aca20, 0xc000de83b0}, 0xc00062ac00) /go/pkg/mod/github.com/gorilla/mux@v1.7.3/mux.go:212 +0x202 github.com/urfave/negroni.Wrap.func1({0x7f1d739aca20, 0xc000de83b0}, 0x1006180, 0xc000401480) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:46 +0x4b github.com/urfave/negroni.HandlerFunc.ServeHTTP(0x100a, {0x7f1d739aca20, 0xc000de83b0}, 0x0, 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, 0xc000de83b0}, 0x815f00) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 rt/core/logs.(*Logger).ServeHTTP(0x0, {0x7f1d739aca20, 0xc000de83b0}, 0xc00062ac00, 0xc000401460) /home/gitlab-runner/builds/BMuFqxHZ/0/auth/rt/core/logs/logger.go:45 +0x9d github.com/urfave/negroni.middleware.ServeHTTP({{0x11dde00, 0xc000010048}, 0xc0000ac1b0}, {0x7f1d739aca20, 0xc000de83b0}, 0xc000444b88) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/rs/cors.(*Cors).ServeHTTP(0xc00013a6e0, {0x7f1d739aca20, 0xc000de83b0}, 0xc00062ac00, 0xc000401440) /go/pkg/mod/github.com/rs/cors@v1.7.0/cors.go:252 +0x17e github.com/urfave/negroni.middleware.ServeHTTP({{0x11dcb00, 0xc00013a6e0}, 0xc0000ac168}, {0x7f1d739aca20, 0xc000de83b0}, 0x20) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Recovery).ServeHTTP(0xc00069c800, {0x7f1d739aca20, 0xc000de83b0}, 0xc00110ba48, 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, 0xc000de83b0}, 0x757854) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38 +0xb6 github.com/urfave/negroni.(*Negroni).ServeHTTP(0xc0003dad80, {0x11e8b48, 0xc000846b60}, 0x7ae62e) /go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:96 +0x110 net/http.serverHandler.ServeHTTP({0xc00113a450}, {0x11e8b48, 0xc000846b60}, 0xc00062ac00) /usr/local/go/src/net/http/server.go:2879 +0x43b net/http.(*conn).serve(0xc0003ebd60, {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