Aias00 opened a new issue, #6767:
URL: https://github.com/apache/shenyu/issues/6767
- severity: Medium
- files:
`shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-clickhouse/.../ClickHouseLogCollectClient.java:128`
- description: `final String ttl = config.getTtl().isEmpty() ? "30" :
config.getTtl();` — `ttl` field has no default. If admin config JSON omits
"ttl", Gson sets it to null. `config.getTtl()` returns null, `.isEmpty()`
throws NPE.
- impact: ClickHouse logging plugin fails to initialize with NPE when `ttl`
not configured.
- suggested_fix: Use `StringUtils.isBlank(config.getTtl())` or
`Optional.ofNullable(...).orElse("30")`.
- confidence: High
- related_existing: none
---
_Identified during the 2026-08-02 deep re-scan; full list in
[`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]