Aias00 opened a new issue, #6663:
URL: https://github.com/apache/shenyu/issues/6663

   - Severity: High
   - Location:
   
`shenyu-sync-data-center/shenyu-sync-data-http/src/main/java/org/apache/shenyu/sync/data/http/refresh/RuleDataRefresh.java:71-81`
   - 
   Description:
   Identical bug to SYNC-3 but for rules. 
`data.forEach(pluginDataSubscriber::unRuleSubscribe)` is called when 
`CollectionUtils.isEmpty(data)` is true. NPE if null, no-op if empty.
   - 
   Impact:
   HTTP sync refresh with empty/null rule group crashes or leaves stale rules.
   - 
   Suggested fix:
   Call `refreshRuleDataAll()` first, return early when empty.
   - 
   Confidence: High
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/00-consolidated-critical-high.md`](docs/scan2-2026-08-02/00-consolidated-critical-high.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]

Reply via email to