Skip to content

Setting projects in config.yml Segfaults #41

@kevinkirkup

Description

@kevinkirkup

What happened?

Setting the projects key in config.yml causes segfault

---
projects:
  - "ORCH"
gui:
  sidePanelWidth: 100
$ lazyjira
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x102964d10]

goroutine 1 [running]:
main.resolveClient(0x0)
	/home/runner/work/lazyjira/lazyjira/cmd/lazyjira/main.go:155 +0xc0
main.run()
	/home/runner/work/lazyjira/lazyjira/cmd/lazyjira/main.go:77 +0x2a8
main.main()
	/home/runner/work/lazyjira/lazyjira/cmd/lazyjira/main.go:42 +0x204

Expected behavior

It should run

Steps to reproduce

  1. Run lazyjira

lazyjira version

lazyjira 2.8.1

OS

macOS

Terminal

Alacritty

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions