un 05 06:15:41 stork-server stork-server[3800]: 2020/06/05 06:15:41 http: panic serving 127.0.0.1:39950: runtime error: invalid memory address or nil pointer dereference
Jun 05 06:15:41 stork-server stork-server[3800]: goroutine 97 [running]:
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.(*conn).serve.func1(0xc0001546e0)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:1767 +0x139
Jun 05 06:15:41 stork-server stork-server[3800]: panic(0xbe2e60, 0x134ee80)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/runtime/panic.go:679 +0x1b2
Jun 05 06:15:41 stork-server stork-server[3800]: isc.org/stork/server/restservice.(*RestAPI).CreateUser(0xc000128900, 0xe29ac0, 0xc00051eed0, 0xc0006de300, 0x0, 0xc00015b010, 0xe29ac0)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/backend/server/restservice/restusers.go:155 +0x3a
Jun 05 06:15:41 stork-server stork-server[3800]: isc.org/stork/server/gen/restapi.HandlerAPI.func4(0xc0006de300, 0x0, 0xb98c60, 0xc00015b010, 0xc0006d3401, 0xc00015b000)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/backend/server/gen/restapi/configure_stork.go:149 +0xbc
Jun 05 06:15:41 stork-server stork-server[3800]: isc.org/stork/server/gen/restapi/operations/users.CreateUserHandlerFunc.Handle(0xc0001aa230, 0xc0006de300, 0x0, 0xb98c60, 0xc00015b010, 0x0, 0x0)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/backend/server/gen/restapi/operations/users/create_user.go:19 +0x4e
Jun 05 06:15:41 stork-server stork-server[3800]: isc.org/stork/server/gen/restapi/operations/users.(*CreateUser).ServeHTTP(0xc0001c7c60, 0xe25f00, 0xc000019ac0, 0xc0006de300)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/backend/server/gen/restapi/operations/users/create_user.go:69 +0x28d
Jun 05 06:15:41 stork-server stork-server[3800]: github.com/go-openapi/runtime/middleware.NewOperationExecutor.func1(0xe25f00, 0xc000019ac0, 0xc0006de100)
Jun 05 06:15:41 stork-server stork-server[3800]: /root/go/pkg/mod/github.com/go-openapi/runtime@v0.19.6/middleware/operation.go:28 +0x75
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.HandlerFunc.ServeHTTP(0xc0000abd00, 0xe25f00, 0xc000019ac0, 0xc0006de100)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2007 +0x44
Jun 05 06:15:41 stork-server stork-server[3800]: github.com/alexedwards/scs/v2.(*SessionManager).LoadAndSave.func1(0xe27540, 0xc000534460, 0xc00043aa00)
Jun 05 06:15:41 stork-server stork-server[3800]: /root/go/pkg/mod/github.com/alexedwards/scs/v2@v2.2.0/session.go:136 +0x205
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.HandlerFunc.ServeHTTP(0xc0001c7ee0, 0xe27540, 0xc000534460, 0xc00043aa00)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2007 +0x44
Jun 05 06:15:41 stork-server stork-server[3800]: github.com/go-openapi/runtime/middleware.NewRouter.func1(0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /root/go/pkg/mod/github.com/go-openapi/runtime@v0.19.6/middleware/router.go:76 +0x356
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.HandlerFunc.ServeHTTP(0xc000275aa0, 0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2007 +0x44
Jun 05 06:15:41 stork-server stork-server[3800]: github.com/go-openapi/runtime/middleware.Redoc.func1(0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /root/go/pkg/mod/github.com/go-openapi/runtime@v0.19.6/middleware/redoc.go:72 +0x286
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.HandlerFunc.ServeHTTP(0xc000528340, 0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2007 +0x44
Jun 05 06:15:41 stork-server stork-server[3800]: github.com/go-openapi/runtime/middleware.Spec.func1(0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /root/go/pkg/mod/github.com/go-openapi/runtime@v0.19.6/middleware/spec.go:46 +0x188
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.HandlerFunc.ServeHTTP(0xc000528380, 0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2007 +0x44
Jun 05 06:15:41 stork-server stork-server[3800]: isc.org/stork/server/restservice.fileServerMiddleware.func1(0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/backend/server/restservice/middleware.go:51 +0x85
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.HandlerFunc.ServeHTTP(0xc00051f7d0, 0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2007 +0x44
Jun 05 06:15:41 stork-server stork-server[3800]: isc.org/stork/server/restservice.loggingMiddleware.func1(0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/backend/server/restservice/middleware.go:32 +0x32e
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.HandlerFunc.ServeHTTP(0xc000275fe0, 0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2007 +0x44
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.serverHandler.ServeHTTP(0xc00039b500, 0xe27540, 0xc000534460, 0xc00043a800)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2802 +0xa4
Jun 05 06:15:41 stork-server stork-server[3800]: net/http.(*conn).serve(0xc0001546e0, 0xe29a00, 0xc00011e140)
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:1890 +0x875
Jun 05 06:15:41 stork-server stork-server[3800]: created by net/http.(*Server).Serve
Jun 05 06:15:41 stork-server stork-server[3800]: /build/tools/1.13.5/go/src/net/http/server.go:2928 +0x384