Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ダッシュボードで接続情報の確認ができない #17

Open
kt-yamaguchi opened this issue Apr 13, 2022 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@kt-yamaguchi
Copy link

GroupID56:以下の申告があって情報を参照できない。
ダッシュボードにおいてログインは出来るのですが /api/v1/info の取得時に500エラーが返ってくる状態です。

@kt-yamaguchi kt-yamaguchi added the bug Something isn't working label Apr 13, 2022
@yoneyan
Copy link
Member

yoneyan commented Apr 14, 2022

NOC情報が入っていない場合に発生する問題

runtime error: invalid memory address or nil pointer dereference
/usr/lib/go-1.13/src/runtime/panic.go:199 (0x4444eb)
	panicmem: panic(memoryError)
/usr/lib/go-1.13/src/runtime/signal_unix.go:394 (0x444328)
	sigpanic: panicmem()
/home/nocopsadm/go/src/github.com/homenoc/dsbd-backend/pkg/api/core/group/info/v0/info.go:388 (0xbc7ac9)
	Get: NOC:        tmpConnection.NOC.Name,
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0xb63c7a)
	(*Context).Next: c.handlers[c.index](c)
/home/nocopsadm/go/src/github.com/homenoc/dsbd-backend/pkg/api/api.go:346 (0xcbd844)
	cors: c.Next()
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0xb63c7a)
	(*Context).Next: c.handlers[c.index](c)
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:99 (0xb791fc)
	CustomRecoveryWithWriter.func1: c.Next()
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0xb63c7a)
	(*Context).Next: c.handlers[c.index](c)
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:241 (0xb78370)
	LoggerWithConfig.func1: c.Next()
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0xb63c7a)
	(*Context).Next: c.handlers[c.index](c)
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:489 (0xb6eb43)
	(*Engine).handleHTTPRequest: c.Next()
/home/nocopsadm/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:445 (0xb6e2ac)
	(*Engine).ServeHTTP: engine.handleHTTPRequest(c)
/usr/lib/go-1.13/src/net/http/server.go:2802 (0x86de53)
	serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/lib/go-1.13/src/net/http/server.go:1890 (0x8696f4)
	(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/lib/go-1.13/src/runtime/asm_amd64.s:1357 (0x45c5e0)
	goexit: BYTE	$0x90	// NOP

@yoneyan yoneyan self-assigned this May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants