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: assignment to entry in nil map #4068

Open
levkohimins opened this issue Mar 21, 2025 · 0 comments
Open

panic: assignment to entry in nil map #4068

levkohimins opened this issue Mar 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@levkohimins
Copy link
Contributor

Describe the bug

panic: assignment to entry in nil map

goroutine 72435 [running]:
sync.(*Map).dirtyLocked(0x49d7780)
	/home/circleci/go/pkg/mod/golang.org/[email protected]/src/sync/map.go:526 +0x145
sync.(*Map).Swap(0x49d7780, {0x2309f20, 0xc0175ea020}, {0x22ceb60, 0xc00c53e588})
	/home/circleci/go/pkg/mod/golang.org/[email protected]/src/sync/map.go:386 +0x225
sync.(*Map).Store(...)
	/home/circleci/go/pkg/mod/golang.org/[email protected]/src/sync/map.go:158
github.com/gruntwork-io/terragrunt/config.getOutputJSONWithCaching(0xc010a3f580, {0xc015abe0f0, 0xee})
	/home/circleci/project/config/dependency.go:633 +0x445
github.com/gruntwork-io/terragrunt/config.getTerragruntOutput(0xc010a3f580, {{0xc0109ea2c0, 0xd}, 0x0, {{{0x303b4e8, 0xc0000152e1}}, {0x2309f20, 0xc012f43d20}}, 0x0, 0x0, ...})
	/home/circleci/project/config/dependency.go:555 +0x90
github.com/gruntwork-io/terragrunt/config.getTerragruntOutputIfAppliedElseConfiguredDefault(0xc010a3f580, {{0xc0109ea2c0, 0xd}, 0x0, {{{0x303b4e8, 0xc0000152e1}}, {0x2309f20, 0xc012f43d20}}, 0x0, 0x0, ...})
	/home/circleci/project/config/dependency.go:477 +0x1d8
github.com/gruntwork-io/terragrunt/config.(*Dependency).setRenderedOutputs(0xc014e951f0, 0x7f2fb2b9e850?)
	/home/circleci/project/config/dependency.go:167 +0x19b
github.com/gruntwork-io/terragrunt/config.dependencyBlocksToCtyValue.func1()
	/home/circleci/project/config/dependency.go:417 +0x87
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/circleci/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 61468
	/home/circleci/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x96
FAIL	github.com/gruntwork-io/terragrunt/test	87.230s
FAIL

CircleCi log

@levkohimins levkohimins added the bug Something isn't working label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant