This is an automated email from the ASF dual-hosted git repository.

zrlw pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.3 by this push:
     new b5fca6f140  Type inconsistency in RpcServiceContext.localInvoke field 
causes NullPointerException (#15475) (#15536)
b5fca6f140 is described below

commit b5fca6f140bdac20a66b6e9d6c6e41f5df3fca62
Author: tt <[email protected]>
AuthorDate: Thu Jul 10 19:23:51 2025 +0800

     Type inconsistency in RpcServiceContext.localInvoke field causes 
NullPointerException (#15475) (#15536)
    
    Co-authored-by: huangtao <[email protected]>
---
 .../src/main/java/org/apache/dubbo/rpc/RpcServiceContext.java           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcServiceContext.java
 
b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcServiceContext.java
index 6bc36b75ae..0768e08bf9 100644
--- 
a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcServiceContext.java
+++ 
b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcServiceContext.java
@@ -625,7 +625,7 @@ public class RpcServiceContext extends RpcContext {
         this.needPrintRouterSnapshot = needPrintRouterSnapshot;
     }
 
-    public RpcServiceContext setLocalInvoke(boolean localInvoke) {
+    public RpcServiceContext setLocalInvoke(Boolean localInvoke) {
         this.localInvoke = localInvoke;
         return this;
     }

Reply via email to