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

Exception in legacy webhook #253

Open
ogerovich opened this issue Feb 6, 2025 · 1 comment
Open

Exception in legacy webhook #253

ogerovich opened this issue Feb 6, 2025 · 1 comment
Assignees
Labels

Comments

@ogerovich
Copy link

TeamCity Server: 2024.07.3 (build 160765)
tcWebHooks : 2.0.1

Found this on administrator pages for WebHooks:
999 :: Unexpected exception. Please log a bug on GitHub tcplugins/tcWebHooks. Exception was: Cannot invoke "String.trim()" because the return value of "webhook.teamcity.payload.content.WebHookPayloadContent.getComment()" is null

Build event: Build Responsibility Changed
Template Id: legacy-json
Payload Format: json
Template Status: Template bundled with tcWebhooks

@netwolfuk
Copy link
Member

Thanks for raising this. I will fix in the next release.

Looking at the code, it only happens on Build Responsibility Changed and when no comment is left.

@netwolfuk netwolfuk self-assigned this Feb 6, 2025
@netwolfuk netwolfuk added the bug label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants