Open
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
With Bitbucket Server (v7.19.3) and Atlantis (v0.19.7) configured to use Bitbucket, when there are lots of changes (f.e. when renaming a directory) in a pull-request, Atlantis panices with: "Error: goroutine panic. This is a bug."
Reproduction Steps
- setup atlantis (using Version v0.19.7) for Bitbucket using this repo-config:
- open a pull-request that includes lots of changes
- wait until Atlantis outputs the panic error message (see logs) as comment to the pull-request
Logs
Logs
Error: goroutine panic. This is a bug.
runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:221 (0x44a146)
runtime/signal_unix.go:735 (0x44a116)
github.com/runatlantis/atlantis/server/events/vcs/bitbucketserver/client.go:103 (0xa9f84b)
github.com/runatlantis/atlantis/server/events/vcs/proxy.go:56 (0xa6a074)
github.com/runatlantis/atlantis/server/events/project_command_builder.go:215 (0xc4eeb8)
github.com/runatlantis/atlantis/server/events/project_command_builder.go:166 (0xc4e7e4)
github.com/runatlantis/atlantis/server/events/instrumented_project_command_builder.go:44 (0xc4610e)
github.com/runatlantis/atlantis/server/events/plan_command_runner.go:73 (0xc49d63)
github.com/runatlantis/atlantis/server/events/plan_command_runner.go:222 (0xc4ba44)
github.com/runatlantis/atlantis/server/events/command_runner.go:174 (0xc3618e)
runtime/asm_amd64.s:1581 (0x465140)
Activity