You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceBeanManager.java
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -192,6 +192,11 @@ public synchronized void initReferenceBean(ReferenceBean referenceBean) throws E
0 commit comments