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

fix: missing from field in brick.yml -> panic module.LoadAvailable action nil pointer dereference #150

Open
arthur91f opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@arthur91f
Copy link
Owner

$ exeiac lay apps/database
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x575729]

goroutine 1 [running]:
src/exeiac/infra.(*Module).LoadAvailableActions(0x5b0f20?)
/home/arthur91f/git/exeiac/src/infra/module.go:68 +0x29
src/exeiac/infra.(*Infra).EnrichBricks(0xc0000c8a00)
/home/arthur91f/git/exeiac/src/infra/enrichBricks.go:233 +0x19c
main.main()
/home/arthur91f/git/exeiac/src/main.go:73 +0x69e

It was resolve by correcting brick.yml of apps/myapp/configuration. A field from was let empty.
A brick.yml conf error shouldn't block exeiac if the brick will not be executed. Moreover we should avoid panic.

@arthur91f arthur91f added this to exeIaC May 15, 2024
@arthur91f arthur91f converted this from a draft issue May 15, 2024
@arthur91f arthur91f added the bug Something isn't working label May 15, 2024
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
Status: Todo
Development

No branches or pull requests

1 participant