Closed gadisn closed 7 months ago
Hi,
When accessing /public/ on plutono’s url, I get the following error in the plutono log:
/public/
"runtime error: invalid memory address or nil pointer dereference" "/usr/local/go/src/runtime/panic.go:261 (0x454b37)\n/usr/local/go/src/runtime/signal_unix.go:861 (0x454b05)\n/go/src/github.com/credativ/plutono/pkg/api/static/static.go:138 (0x166ffdd)\n/go/src/github.com/credativ/plutono/pkg/api/static/static.go:159 (0x166fb8b)\n/go/src/github.com/credativ/plutono/pkg/api/static/static.go:191 (0x1670315)\n/go/src/github.com/credativ/plutono/pkg/macaron/logger.go:40 (0xe031d7)\n/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0xdfdf74)\n/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0xdfde93)\n/go/src/github.com/credativ/plutono/pkg/macaron/context.go:125 (0xdffd27)\n/go/src/github.com/credativ/plutono/pkg/macaron/context.go:115 (0xdffc56)\n/go/src/github.com/credativ/plutono/pkg/middleware/recovery.go:166 (0x18305b6)\n/go/src/github.com/credativ/plutono/pkg/macaron/context.go:81 (0xdffbd5)\n/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0xdfdf74)\n/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0xdfde93)\n/go/src/github.com/credativ/plutono/pkg/macaron/context.go:125 (0xdffd27)\n/go/src/github.com/credativ/plutono/pkg/macaron/context.go:115 (0xdffc56)\n/go/src/github.com/credativ/plutono/pkg/middleware/logger.go:35 (0x1830f70)\n/usr/local/go/src/reflect/value.go:596 (0x4a6766)\n/usr/local/go/src/reflect/value.go:380 (0x4a5838)\n/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:177 (0xdfe1ec)\n/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:137 (0xdfde4f)\n/go/src/github.com/credativ/plutono/pkg/macaron/context.go:125 (0xdffd27)\n/go/src/github.com/credativ/plutono/pkg/macaron/router.go:268 (0xe0ae49)\n/go/src/github.com/credativ/plutono/pkg/macaron/router.go:311 (0xe0b187)\n/go/src/github.com/credativ/plutono/pkg/macaron/macaron.go:221 (0xe04404)\n/usr/local/go/src/net/http/server.go:2938 (0x70d70d)\n/usr/local/go/src/net/http/server.go:2009 (0x7095f3)\n/usr/local/go/src/runtime/asm_amd64.s:1650 (0x473cc0)\n"
Could this be related to the inner defer call which handles a dir scenario and uses the same variable name as the outer defer?
BTW OIDC is used in this scenario. Thanks
Hi,
When accessing
/public/
on plutono’s url, I get the following error in the plutono log:Could this be related to the inner defer call which handles a dir scenario and uses the same variable name as the outer defer?
BTW OIDC is used in this scenario. Thanks