Matthias,
Sorry for "reopening" this old issue, but I'm facing the same problem, but I'm sure it has nothing to do with the "solution" you provided to Sun.
The error and debug logs points to the very same issue:
```
[2025-02-19T23:38:02.306+01:00] [webhooks-3[java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@3360c17d[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@54f3885a[Wrapped task = com.google.gerrit.server.logging.LoggingContextAwareRunnable@463b0b28]]]] ERROR com.googlesource.gerrit.plugins.webhooks.PostTask : Failed to post: Processing event: patchset-created for project: my/project for remote:
http://example.com/webhook
[2025-02-19T23:51:57.069+01:00] [webhooks-2[java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@ad0e775[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@40942fa3[Wrapped task = com.google.gerrit.server.logging.LoggingContextAwareRunnable@5115753]]]] DEBUG com.googlesource.gerrit.plugins.webhooks.PostTask : No content. Webhook [
http://example.com/webhook] skipped. [CONTEXT PLUGIN="gerrit" PLUGIN="high-availability" PLUGIN="webhooks" project="my/project" ]
```
Note I redacted the project name and the webhook target address. However, this very same configuration was working fine up to some months ago. I'm trying to understand why it stopped working.
According to the source code of the webhooks plugin (I'm running Gerrit 3.4.8), this issue is thrown before the request is made to my server:
https://gerrit.googlesource.com/plugins/webhooks/+/f26cfcedc3cc9cc5bfdbd530abfb4d85314c1c21/src/main/java/com/googlesource/gerrit/plugins/webhooks/PostTask.java#76Apparently, some internal object isn't being set for whatever reason.
I would really appreciate if you have any insight on what may be happening, I'm clueless. :(