-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x7ff6c570361f]
goroutine 1 [running]:
github.com/jesseduffield/lazygit/pkg/commands/models.(*RemoteBranch).FullName(...)
/home/runner/work/lazygit/lazygit/pkg/commands/models/remote_branch.go:10
github.com/jesseduffield/lazygit/pkg/gui/context.NewRemoteBranchesContext.func3.GetRemoteBranchListDisplayStrings.1(...)
/home/runner/work/lazygit/lazygit/pkg/gui/presentation/remote_branches.go:12
github.com/samber/lo.Map[...](...)
/home/runner/work/lazygit/lazygit/vendor/github.com/samber/lo/slice.go:29
github.com/jesseduffield/lazygit/pkg/gui/presentation.GetRemoteBranchListDisplayStrings(...)
/home/runner/work/lazygit/lazygit/pkg/gui/presentation/remote_branches.go:11
github.com/jesseduffield/lazygit/pkg/gui/context.NewRemoteBranchesContext.func3(0xc000122360?, 0xc000923080?)
/home/runner/work/lazygit/lazygit/pkg/gui/context/remote_branches_context.go:32 +0xbf
github.com/jesseduffield/lazygit/pkg/gui/context.(*ListRenderer).renderLines(0xc000212650, 0xffffffffffffffff, 0xffffffffffffffff)
/home/runner/work/lazygit/lazygit/pkg/gui/context/list_renderer.go:93 +0x1b1
github.com/jesseduffield/lazygit/pkg/gui/context.(*ListContextTrait).HandleRender(0xc000212640)
/home/runner/work/lazygit/lazygit/pkg/gui/context/list_context_trait.go:124 +0x105
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).postRefreshUpdate(0xc00039c008, {0x7ff6c5d6a128, 0xc000008cc0})
/home/runner/work/lazygit/lazygit/pkg/gui/view_helpers.go:133 +0xb8
github.com/jesseduffield/lazygit/pkg/gui.(*guiCommon).PostRefreshUpdate(0x7ff6c6516f80?, {0x7ff6c5d6a128?, 0xc000008cc0?})
/home/runner/work/lazygit/lazygit/pkg/gui/gui_common.go:34 +0x25
github.com/jesseduffield/lazygit/pkg/gui/controllers.(*RemotesController).enter(0xc0000092a8, 0xc001756480)
/home/runner/work/lazygit/lazygit/pkg/gui/controllers/remotes_controller.go:141 +0x1df
github.com/jesseduffield/lazygit/pkg/gui/controllers.(*RemotesController).GetKeybindings.(*ListControllerTrait[...]).withItem.func1()
/home/runner/work/lazygit/lazygit/pkg/gui/controllers/list_controller_trait.go:116 +0x3b
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).callKeybindingHandler(0xc00039c008?, 0xc000f2b130?)
/home/runner/work/lazygit/lazygit/pkg/gui/keybindings.go:546 +0x163
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).SetKeybinding.func1()
/home/runner/work/lazygit/lazygit/pkg/gui/keybindings.go:484 +0x1b
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).SetKeybinding.(*Gui).wrappedHandler.func3(0xc000923388?, 0x7ff6c50af0cf?)
/home/runner/work/lazygit/lazygit/pkg/gui/keybindings.go:478 +0x13
github.com/jesseduffield/gocui.(*Gui).execKeybinding(0xc00088c0e0?, 0x7ff6c5a48ae0?, 0xc0000021c0?)
/home/runner/work/lazygit/lazygit/vendor/github.com/jesseduffield/gocui/gui.go:1586 +0x4e
github.com/jesseduffield/gocui.(*Gui).execKeybindings(0xc0003a0000, 0xc0003c8d88, 0xc000923578)
/home/runner/work/lazygit/lazygit/vendor/github.com/jesseduffield/gocui/gui.go:1545 +0x471
github.com/jesseduffield/gocui.(*Gui).onKey(0xc000363138?, 0xc000923500?)
/home/runner/work/lazygit/lazygit/vendor/github.com/jesseduffield/gocui/gui.go:1321 +0x4d
github.com/jesseduffield/gocui.(*Gui).handleEvent(0xc000363110?, 0xc000923560?)
/home/runner/work/lazygit/lazygit/vendor/github.com/jesseduffield/gocui/gui.go:853 +0x2f
github.com/jesseduffield/gocui.(*Gui).processEvent(0xc0003a0000)
/home/runner/work/lazygit/lazygit/vendor/github.com/jesseduffield/gocui/gui.go:807 +0x226
github.com/jesseduffield/gocui.(*Gui).MainLoop(0xc0003a0000)
/home/runner/work/lazygit/lazygit/vendor/github.com/jesseduffield/gocui/gui.go:786 +0xea
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).Run(0xc00039c008, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}})
/home/runner/work/lazygit/lazygit/pkg/gui/gui.go:879 +0x511
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).RunAndHandleError.func1()
/home/runner/work/lazygit/lazygit/pkg/gui/gui.go:885 +0x48
github.com/jesseduffield/lazygit/pkg/utils.SafeWithError(0x10000c0001bf8e0?)
/home/runner/work/lazygit/lazygit/pkg/utils/utils.go:80 +0x56
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).RunAndHandleError(0xc00039c008, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}})
/home/runner/work/lazygit/lazygit/pkg/gui/gui.go:884 +0xff
github.com/jesseduffield/lazygit/pkg/app.(*App).Run(...)
/home/runner/work/lazygit/lazygit/pkg/app/app.go:277
github.com/jesseduffield/lazygit/pkg/app.Run({0x7ff6c5d61058?, 0xc0000502c0?}, 0xc0001e8840, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, ...}})
/home/runner/work/lazygit/lazygit/pkg/app/app.go:48 +0xda
github.com/jesseduffield/lazygit/pkg/app.Start(0xc0001bff00, {0x0, 0x0})
/home/runner/work/lazygit/lazygit/pkg/app/entry_point.go:177 +0xe05
main.main()
/home/runner/work/lazygit/lazygit/main.go:23 +0x98
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working