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

Panic when creating a card #30

Open
DaniruKun opened this issue Oct 13, 2022 · 0 comments
Open

Panic when creating a card #30

DaniruKun opened this issue Oct 13, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DaniruKun
Copy link

When calling zube card create, it panics with the following trace and input values:

? Project: Platogo
? Workspace: server-planning
? Title? Explore using functional lenses in Elixir projects
? Description? [Enter to launch editor] Waiting for Emacs...
? Description? <Received>
? Choose labels: friday, research, refactoring
? Assignees:
? Epic: None
? Github source: None
? Priority: None
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x13e4d04]

goroutine 1 [running]:
github.com/platogo/zube-cli/zube.(*Client).performAPIRequestURL(0xc00012a420, {0x14ad8f0, 0x4}, 0xc00028c5c0?, {0x1573ec0, 0xc0001db0e0})
	/Users/dpetrovs/projects/git/platogo/zube-cli/zube/client.go:363 +0x7c4
github.com/platogo/zube-cli/zube.(*Client).CreateCard(_, _)
	/Users/dpetrovs/projects/git/platogo/zube-cli/zube/client.go:189 +0x1c5
github.com/platogo/zube-cli/cmd.glob..func2(0x180ca20?, {0x14ad9f0?, 0x0?, 0x0?})
	/Users/dpetrovs/projects/git/platogo/zube-cli/cmd/card_create.go:155 +0x1745
github.com/spf13/cobra.(*Command).execute(0x180ca20, {0x18480a0, 0x0, 0x0})
	/Users/dpetrovs/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860 +0x663
github.com/spf13/cobra.(*Command).ExecuteC(0x180d420)
	/Users/dpetrovs/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/dpetrovs/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
github.com/platogo/zube-cli/cmd.Execute()
	/Users/dpetrovs/projects/git/platogo/zube-cli/cmd/root.go:29 +0x25
main.main()
	/Users/dpetrovs/projects/git/platogo/zube-cli/main.go:9 +0x17

Investigate why this happens.

@DaniruKun DaniruKun added the bug Something isn't working label Oct 13, 2022
@DaniruKun DaniruKun self-assigned this Oct 13, 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
Development

No branches or pull requests

1 participant