tcWebHooks
tcWebHooks copied to clipboard
Exception in legacy webhook
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
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.
v2.0.3-rc.1 released