You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The support for Bitbucket Server/Datacenter as a provider for git commit status was introduced by this PR
Unfortunately, while testing the code using self signed certificates, I noticed a bug in the code that's causing a panic: runtime error: invalid memory address or nil pointer dereference error
To Reproduce:
Steps to reproduce the behavior:
Enable bitbucket server provider for git commit status like below:
@stefanprodan : Sure, will do that. I am already testing the fix for it in my env and will soon be submitting a PR to close this issue, since I was the author of that initial PR that introduced this functionality. I just reported this issue for awareness.
@stefanprodan : Edited the original issue text above to show error with stack trace. I have submitted a PR to fix this bug and added more enhancements.
stefanprodan
changed the title
Notification controller panic bug while using bitbucketserver provider for git commit status
Panic while using bitbucketserver provider for git commit status
Jan 22, 2024
Describe the bug
The support for Bitbucket Server/Datacenter as a provider for git commit status was introduced by this PR
Unfortunately, while testing the code using self signed certificates, I noticed a bug in the code that's causing a panic: runtime error: invalid memory address or nil pointer dereference error
To Reproduce:
Steps to reproduce the behavior:
Current Actual behavior:
Notification controller dies with a panic error:
Expected behavior:
Notification controller should handle the issue gracefully and emit an error message in its logs
Current workaround:
Please make sure to specify certSecretRef (a valid CA cert) to trust the self signed cert
The text was updated successfully, but these errors were encountered: