Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Running cortex cluster export throws a panic error #2414

Copy link
Copy link
@RobertLucian

Description

@RobertLucian
Issue body actions

Version

0.41

Description

Running cortex cluster export throws a panic error. As reported by Dipen Chawla in https://cortex-dot-dev.slack.com/archives/C01KHQRUWNT/p1641561660007800.

Stack traces

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

goroutine 1 [running]:
github.com/cortexlabs/cortex/pkg/lib/exit.Panic(0x3c94620, 0xc000477d10, 0x0, 0x0, 0x0)
	/home/circleci/project/pkg/lib/exit/exit.go:60 +0x1b5
github.com/cortexlabs/cortex/pkg/lib/exit.RecoverAndExit(0x0, 0x0, 0x0)
	/home/circleci/project/pkg/lib/exit/exit.go:66 +0xa5
panic(0x345dba0, 0x5093590)
	/usr/local/go/src/runtime/panic.go:965 +0x1b9
github.com/cortexlabs/cortex/cli/cmd.glob..func5(0x50b1140, 0xc0003f9b80, 0x0, 0x4)
	/home/circleci/project/cli/cmd/cluster.go:767 +0x59b
github.com/spf13/cobra.(*Command).execute(0x50b1140, 0xc0003f9b40, 0x4, 0x4, 0x50b1140, 0xc0003f9b40)
	/home/circleci/go/pkg/mod/github.com/spf13/cobra@v1.2.0/command.go:863 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0x50b2b80, 0xc0007bff40, 0x1, 0x1)
	/home/circleci/go/pkg/mod/github.com/spf13/cobra@v1.2.0/command.go:977 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	/home/circleci/go/pkg/mod/github.com/spf13/cobra@v1.2.0/command.go:905
github.com/cortexlabs/cortex/cli/cmd.Execute()
	/home/circleci/project/cli/cmd/root.go:171 +0x305
main.main()
	/home/circleci/project/cli/main.go:24 +0x25

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.