Commit 8e609cd
committed
fix(native): Resolve NullPointerException in ReferenceBeanManager
This commit adds a defensive null-check for `moduleModel`. If it is null, it retrieves the model explicitly using `DubboBeanUtils.getModuleModel()` to prevent the `NullPointerException` and ensure stable initialization in native builds.
fixes: #15663
Signed-off-by: Kyounghoon Jang <[email protected]>1 parent a7b641f commit 8e609cd
File tree
1 file changed
+4
-0
lines changed- dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
0 commit comments