Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Error creating a api-key to my ksqldb resource #145

@niltondiniz

Description

@niltondiniz

Hi!
I'm getting this error when i run: confluent api-key create --resource

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x55bb7e2]

goroutine 1 [running]:
github.com/confluentinc/cli/internal/cmd/api-key.(*command).createV1(0xc000465f80, {0x0, 0x0}, {0xc000985160, 0x613ff2e}, {0x613c11b, 0x4}, {0x0, 0x0})
go/src/github.com/confluentinc/cli/internal/cmd/api-key/command_create.go:154 +0x2c2
github.com/confluentinc/cli/internal/cmd/api-key.(*command).create(0xc000465f80, 0x20, {0x79d44e0, 0xc0008b3fc0, 0x0})
go/src/github.com/confluentinc/cli/internal/cmd/api-key/command_create.go:76 +0x1a9
github.com/confluentinc/cli/internal/pkg/cmd.Chain.func1(0xc00019b868, {0xc0008b3e60, 0x0, 0x2})
go/src/github.com/confluentinc/cli/internal/pkg/cmd/cobra.go:24 +0x83
github.com/confluentinc/cli/internal/pkg/cmd.CatchErrors.func1(0xc000274280, {0xc0008b3e60, 0x0, 0x2})
go/src/github.com/confluentinc/cli/internal/pkg/cmd/cobra.go:12 +0x69
github.com/spf13/cobra.(*Command).execute(0xc000274280, {0xc0008b3e40, 0x2, 0x2})
/Users/mhe/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc000396f00)
/Users/mhe/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
/Users/mhe/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:902
github.com/confluentinc/cli/internal/cmd.(*command).Execute(0xc00059a000, {0xc0001a4010, 0xc00059a880, 0x8})
go/src/github.com/confluentinc/cli/internal/cmd/command.go:124 +0x56
main.main()
go/src/github.com/confluentinc/cli/cmd/confluent/main.go:42 +0x28a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions