-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
bugSomething isn't workingSomething isn't workingcomponent/controlplanegood first issueGood for newcomersGood for newcomers
Description
We've received this exception
{"level":"error", "msg":"runtime error: invalid memory address or nil pointer dereference:
goroutine 25579 [running]:
github.com/go-kratos/kratos/v2/middleware/recovery.Recovery.func2.1.1()
/home/runner/go/pkg/mod/github.com/go-kratos/kratos/v2@v2.5.3/middleware/recovery/recovery.go:53 +0xa7
panic({0x2185140, 0x3b16820})
/opt/hostedtoolcache/go/1.20.2/x64/src/runtime/panic.go:884 +0x213
github.com/chainloop-dev/chainloop/internal/credentials/aws.(*Manager).ReadCredentials(0xc0006747b0, {0x28df088, 0xc000f01740}, {0xc000e8a660, 0x58}, {0x213dea0, 0xc000e0b2c0})
/home/runner/work/chainloop/chainloop/internal/credentials/aws/secretmanager.go:123 +0x150
github.com/chainloop-dev/chainloop/internal/blobmanager/oci.(*BackendProvider).FromCredentials(0xc000752e20, {0x28df088, 0xc000f01740}, {0xc000e8a660, 0x58})
/home/runner/work/chainloop/chainloop/internal/blobmanager/oci/provider.go:39 +0x93
github.com/chainloop-dev/chainloop/app/controlplane/internal/biz.(*OCIRepositoryUseCase).PerformValidation(0xc000704040, {0x28df088, 0xc000f01740}, {0xc0010e5260, 0x24})
The nil pointer is raised here
return json.Unmarshal([]byte(*resp.SecretString), creds) |
It seems that for some reason both resp
and err
were nil?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomponent/controlplanegood first issueGood for newcomersGood for newcomers