mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2385] panic: runtime error: invalid memory address or nil pointer dereference #1097
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1097
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BrockWeekley on GitHub (Jul 5, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2385
Bug report info
Command used with act
Describe issue
All listed commands result in the same, rendering the library unusable:
INFO[0000] Using docker host 'unix:///Users/########/.docker/run/docker.sock', and daemon socket 'unix:///Users/########/.docker/run/docker.sock'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x100b9560c]
goroutine 1 [running]:
github.com/nektos/act/pkg/model.(*Workflow).GetJob(...)
/private/tmp/act-20240630-4528-ly7ajq/act-0.2.64/pkg/model/workflow.go:702
github.com/nektos/act/pkg/model.createStages(0x14000316a50, {0x14000588c30, 0x1, 0x0?})
/private/tmp/act-20240630-4528-ly7ajq/act-0.2.64/pkg/model/planner.go:356 +0x61c
github.com/nektos/act/pkg/model.(*workflowPlanner).PlanAll(0x1400000ee40)
/private/tmp/act-20240630-4528-ly7ajq/act-0.2.64/pkg/model/planner.go:266 +0x134
github.com/nektos/act/cmd.Execute.newRunCommand.func2(0x140002cc608, {0x1400012c790, 0x0, 0x100e4fcc3?})
/private/tmp/act-20240630-4528-ly7ajq/act-0.2.64/cmd/root.go:430 +0x610
github.com/spf13/cobra.(*Command).execute(0x140002cc608, {0x1400017f100, 0xb, 0x10})
/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x140002cc608)
/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
github.com/nektos/act/cmd.Execute({0x1011b9690, 0x140002fa190}, {0x100fc6834, 0x6})
/private/tmp/act-20240630-4528-ly7ajq/act-0.2.64/cmd/root.go:106 +0x11b4
main.main()
/private/tmp/act-20240630-4528-ly7ajq/act-0.2.64/main.go:36 +0x158
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@github-actions[bot] commented on GitHub (Jan 2, 2025):
Issue is stale and will be closed in 14 days unless there is new activity