[BUG] NPE causes SystemRule cannot effect
Open
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Issue Description
Type: *bug report*
### Describe what happened
版本: V1.8.6
由于系统规则抛出时是直接抛出,没有包裹 `Rule` 对象。而在 `LogSlot` 记录日志时,会去获取 `Rule` 对象,导致此处出现 `NPE` ,使得 `SystemBlockException` 没有抛出被吞掉,使得系统规则失效。

下图是发生 `NPE` 时,导致 `SystemBlockException` 被吞掉的情况,其他限流规则是否会被吞掉,还待测试。
### Describe what you expected to happen
不应该出现 `NPE` 导致规则失效
### How to reproduce it (as minimally and precisely as possible)
1.
2.
3.
### Tell us your environment
### Anything else we need to know?
Contributor guide
Assessment
This issue has not been assessed yet.