-
Notifications
You must be signed in to change notification settings - Fork 28
Description
While trying to setup notification for this event, in the preview and test window I'm getting:
Error has occurred during request processing, status code: 500 (Internal Server Error).
Details: java.lang.NullPointerException
Error occurred while processing this request.
and when trying to send a test:
Error: Cannot invoke "String.equals(Object)" because the return value of "webhook.teamcity.payload.WebHookPayloadTemplate.getTemplateId()" is null (999)
The log gives a bit more details:
Error has occurred during request processing, status code: 500 (Internal Server Error). Details: java.lang.NullPointerException: Cannot invoke "webhook.teamcity.settings.config.WebHookTemplateConfig.getFormat()" because the return value of "webhook.teamcity.payload.WebHookTemplateManager.getTemplateConfig(String, webhook.teamcity.payload.WebHookTemplateManager$TemplateState)" is null. Error occurred while processing this request. Request: POST '/app/rest/webhooks/test/template/preview', from client 10.0.12.153:52849, authenticated as user with id=77.
java.lang.NullPointerException: Cannot invoke "webhook.teamcity.settings.config.WebHookTemplateConfig.getFormat()" because the return value of "webhook.teamcity.payload.WebHookTemplateManager.getTemplateConfig(String, webhook.teamcity.payload.WebHookTemplateManager$TemplateState)" is null
TC 2024.12.3
tcWebHooks-2.0.1-build.502