-
Notifications
You must be signed in to change notification settings - Fork 29
Description
starting work.
DONE starting console...
panic: runtime error: slice bounds out of range [:875] with capacity 868 [recovered]
panic: runtime error: slice bounds out of range [:875] with capacity 868
goroutine 1 [running]:
github.com/rivo/tview.(*Application).Run.func1()
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/application.go:319 +0x45
panic({0xf3f620?, 0xc000f37dd0?})
/opt/hostedtoolcache/go/1.24.5/x64/src/runtime/panic.go:792 +0x132
github.com/pb33f/openapi-changes/tui.RenderDiff(0xc0000d0780?, 0xc0000d0900, 0xc000b94c00, 0xc000a31e60)
/home/runner/work/openapi-changes/openapi-changes/tui/diff_view.go:239 +0x52dd
github.com/pb33f/openapi-changes/tui.BuildApplication.func2(0xc000b2d4c0?)
/home/runner/work/openapi-changes/openapi-changes/tui/main_console.go:84 +0x3d
github.com/rivo/tview.(*TreeView).MouseHandler.func1(0x9680?, 0x200000000b2d508?, 0xc000b08d80?)
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/treeview.go:890 +0x12a
github.com/rivo/tview.(*TreeView).MouseHandler.(*Box).WrapMouseHandler.func2(0xc5a0?, 0xc000b2d538?, 0x5f0b99?)
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/box.go:230 +0x58
github.com/rivo/tview.(*Grid).MouseHandler.func1(0x3, 0xc000a02f90, 0xc00046e9b0)
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/grid.go:646 +0xc3
github.com/rivo/tview.(*Grid).MouseHandler.(*Box).WrapMouseHandler.func2(0xac60?, 0xc000b2d6b0?, 0x5d49aa?)
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/box.go:230 +0x58
github.com/rivo/tview.(*Application).fireMouseActions.func1(0xc870?)
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/application.go:559 +0x182
github.com/rivo/tview.(*Application).fireMouseActions(0xc000d11680, 0xc000a02f90)
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/application.go:596 +0x2ad
github.com/rivo/tview.(*Application).Run(0xc000d11680)
/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20250625164341-a4a78f1e05cb/application.go:495 +0x3c5
github.com/pb33f/openapi-changes/cmd.runLeftRightCompare({0xc000028220, 0x1a}, {0xc000028260, 0x19}, 0xc0000363f0, 0xc000036460, {0x0, 0x0}, 0x1, 0x0)
/home/runner/work/openapi-changes/openapi-changes/cmd/console.go:398 +0x89e
github.com/pb33f/openapi-changes/cmd.init.0.GetConsoleCommand.func1(0xc00014c008, {0xc000091920, 0x2, 0x100144a?})
/home/runner/work/openapi-changes/openapi-changes/cmd/console.go:256 +0xb8e
github.com/spf13/cobra.(*Command).execute(0xc00014c008, {0xc0000918c0, 0x2, 0x2})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1015 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0x1c08460)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1148 +0x46f
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1071
github.com/pb33f/openapi-changes/cmd.Execute({0x1415af8?, 0x19?}, {0x1421a80?, 0x1012dc3?}, {0xc000028b60?, 0xc0000021c0?})
/home/runner/work/openapi-changes/openapi-changes/cmd/root.go:53 +0x91
main.main()
/home/runner/work/openapi-changes/openapi-changes/openapi-changes.go:29 +0x158