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

Crash when running utern "Stage" #13

Closed
johandk89 opened this issue Feb 11, 2020 · 1 comment
Closed

Crash when running utern "Stage" #13

johandk89 opened this issue Feb 11, 2020 · 1 comment

Comments

@johandk89
Copy link

johandk89 commented Feb 11, 2020

The app crashes when running utern "Stage"

Here is the full output:

+ /aws/lambda/BasicRatesStage
+ /aws/lambda/CollectionCollectionAuditEventsStage
+ /aws/lambda/CollectionCollectionsStage
+ /aws/lambda/CollectionDeliveriesStage
+ /aws/lambda/CollectionDeliveryAuditEventsStage
+ /aws/lambda/CollectionNewCollectionsStage
+ /aws/lambda/CollectionNewDeliveriesStage
+ /aws/lambda/DriverNotifierProxyStage
+ /aws/lambda/GeocodeAddressStage
+ /aws/lambda/GetAddressStage
+ /aws/lambda/NotificationCheckSendShipmentStage
+ /aws/lambda/NotificationCheckSendShipmentStage › 2020/02/11/[$LATEST]a9150c83e4414a1f8bbd95b94d3c070e (2020-02-11T14:52:49+02:00)
+ /aws/lambda/NotificationSendEmailStage
+ /aws/lambda/NotificationSendOTPStage
⠹ Fetching log streams... panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x14f82d6]

goroutine 1 [running]:
github.com/knqyf263/utern/cloudwatch.(*Client).ListStreams.func1(0xc000253b80, 0xc0004d0401, 0x10000c0002acd20)
	/home/travis/gopath/src/github.com/knqyf263/utern/cloudwatch/stream.go:32 +0xf6
github.com/aws/aws-sdk-go/service/cloudwatchlogs.(*CloudWatchLogs).DescribeLogStreamsPagesWithContext(0xc0000a00d8, 0x17b4da0, 0xc000079b40, 0xc0001c3170, 0xc0002c54a8, 0x0, 0x0, 0x0, 0xc0002c54c8, 0x14853f4)
	/home/travis/gopath/pkg/mod/github.com/aws/[email protected]/service/cloudwatchlogs/api.go:1666 +0x163
github.com/knqyf263/utern/cloudwatch.(*Client).ListStreams(0xc0001ee640, 0x17b4da0, 0xc000079b40, 0xc000366e70, 0x24, 0x170344b6810, 0x1b48838, 0x0, 0x0, 0x0, ...)
	/home/travis/gopath/src/github.com/knqyf263/utern/cloudwatch/stream.go:66 +0x1d2
github.com/knqyf263/utern/cloudwatch.(*Client).Tail(0xc0001ee640, 0x17b4da0, 0xc000079b40, 0xc000079b40, 0xc0001ee580)
	/home/travis/gopath/src/github.com/knqyf263/utern/cloudwatch/cloudwatch.go:100 +0x782
main.run(0xc0001e2e70, 0xc0001e2e70, 0x0)
	/home/travis/gopath/src/github.com/knqyf263/utern/main.go:121 +0x8f
main.main.func1(0xc0000c86e0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/knqyf263/utern/main.go:90 +0x8d
github.com/urfave/cli.HandleAction(0x1557380, 0x1631ed8, 0xc0000c86e0, 0x0, 0x0)
	/home/travis/gopath/pkg/mod/github.com/urfave/[email protected]/app.go:523 +0xbe
github.com/urfave/cli.(*App).Run(0xc0001ec000, 0xc00009c020, 0x2, 0x2, 0x0, 0x0)
	/home/travis/gopath/pkg/mod/github.com/urfave/[email protected]/app.go:285 +0x5df
main.main()
	/home/travis/gopath/src/github.com/knqyf263/utern/main.go:93 +0x907

Is it possible to rather specify each group instead of the app finding it with a regular expression?

@yutachaos
Copy link
Collaborator

This issue has been fixed at #18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants