Open hoium opened 1 year ago
I'm receiving the following error message when searching for CloudFormation Stacks.
[14:59:49.672] AWS Console Services[Script Filter] Queuing argument 'cloudformation stacks ' [14:59:49.708] AWS Console Services[Script Filter] Script with argv '(null)' finished [14:59:49.715] ERROR: AWS Console Services[Script Filter] Code 1: 🍺 14:59:49 workflow.go:328: ---- AWS Console Services/5.2.0 (AwGo/0.27.1) ---- 14:59:49 main.go:31: running workflow with query: `cloudformation stacks ` 14:59:49 workflow.go:25: using workflow cacheDir: /Users/hoium/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.ryankoval.awsconsoleservices 14:59:49 workflow.go:26: using workflow dataDir: /Users/hoium/Library/Application Support/Alfred/Workflow Data/com.ryankoval.awsconsoleservices 14:59:49 workflow.go:32: using query: &parsers.Query{RawQuery:"cloudformation stacks ", Service:(*awsworkflow.AwsService)(0x140003ba8e8), SubService:(*awsworkflow.AwsService)(0x140003c01e0), HasTrailingWhitespace:true, HasOpenAll:false, HasDefaultSearchAlias:false, regionOverride:(*awsconfig.Region)(nil), RegionQuery:(*string)(nil), ProfileOverride:(*awsconfig.Profile)(nil), ProfileQuery:(*string)(nil), RemainingQuery:""} 14:59:49 workflow.go:110: using searcher associated with cloudformation_stacks 14:59:49 caching.go:92: using cache with key `cloudformation_stacks_us-west-2_pacaso-prod` in /Users/hoium/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.ryankoval.awsconsoleservices ... 14:59:49 workflow.go:343: ------------------ FATAL ERROR ------------------- 14:59:49 workflow.go:344: runtime error: invalid memory address or nil pointer dereference : goroutine 1 [running]: runtime/debug.Stack() /opt/homebrew/Cellar/go/1.19.5/libexec/src/runtime/debug/stack.go:24 +0x64 github.com/deanishe/awgo.(*Workflow).Run.func2() /Users/ryankoval/go/pkg/mod/github.com/deanishe/awgo@v0.29.1/workflow.go:344 +0xc0 panic({0x101159040, 0x101488630}) /opt/homebrew/Cellar/go/1.19.5/libexec/src/runtime/panic.go:884 +0x204 github.com/rkoval/alfred-aws-console-services-workflow/workflow.finalize(0x1400016b560, 0x1400012a540) /Users/ryankoval/go/src/github.com/rkoval/alfred-aws-console-services-workflow/workflow/workflow.go:143 +0x3a4 panic({0x101159040, 0x101488630}) /opt/homebrew/Cellar/go/1.19.5/libexec/src/runtime/panic.go:884 +0x204 github.com/rkoval/alfred-aws-console-services-workflow/searchers.CloudFormationStackSearcher.addToWorkflow({}, _, {{0x0, 0x0}, {{0x1400002e06b, 0x9}, {0x1011ed960, 0x1400039bac0}, {0x0, 0x0}, ...}, ...}, ...) /Users/ryankoval/go/src/github.com/rkoval/alfred-aws-console-services-workflow/searchers/cloudformation_stacks.go:63 +0x108 github.com/rkoval/alfred-aws-console-services-workflow/searchers.CloudFormationStackSearcher.Search({}, _, {{0x0, 0x0}, {{0x1400002e06b, 0x9}, {0x1011ed960, 0x1400039bac0}, {0x0, 0x0}, ...}, ...}) /Users/ryankoval/go/src/github.com/rkoval/alfred-aws-console-services-workflow/searchers/cloudformation_stacks.go:24 +0x108 github.com/rkoval/alfred-aws-console-services-workflow/workflow.Run(0x1400016b560, {0x16f1bf8f6, 0x16}, {0x0, 0x0}, 0x0, 0xa6?, {0x101024740, 0x14}) /Users/ryankoval/go/src/github.com/rkoval/alfred-aws-console-services-workflow/workflow/workflow.go:114 +0x630 main.main.func1() /Users/ryankoval/go/src/github.com/rkoval/alfred-aws-console-services-workflow/main.go:33 +0x11c github.com/deanishe/awgo.(*Workflow).Run(0x1400016b560, 0x1011ebac0) /Users/ryankoval/go/pkg/mod/github.com/deanishe/awgo@v0.29.1/workflow.go:358 +0x294 main.main() /Users/ryankoval/go/src/github.com/rkoval/alfred-aws-console-services-workflow/main.go:30 +0x30 14:59:49 workflow.go:345: ---------------- END STACK TRACE ----------------- 14:59:49 feedback.go:509: Sent 1 result(s) to Alfred 14:59:49 workflow.go:376: [ERROR] runtime error: invalid memory address or nil pointer dereference 14:59:49 workflow.go:379: Get help at https://github.com/rkoval/alfred-aws-console-services-workflow/issues 14:59:49 workflow.go:402: ------------------- 9.930875ms ------------------- [14:59:49.723] AWS Console Services[Script Filter] { "variables": { "AW_SESSION_ID": "FOO" }, "items": [ { "title": "runtime error: invalid memory address or nil pointer dereference", "valid": false, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] }
I'm receiving the following error message when searching for CloudFormation Stacks.