You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/11/21 03:50:12 UTC

[GitHub] [dubbo-go-hessian2] luky116 opened a new issue #291: dubbo-java 调用 dubbo-go方法,如果方法返回值为 基本类型,java侧无法解析

luky116 opened a new issue #291:
URL: https://github.com/apache/dubbo-go-hessian2/issues/291


   <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
   
   -->
   
   
   **What happened**:
   java-dubbo-client 调用 Dubbo-go-server的方法,结果值为int类型,go把这个值的类型转成了 J 作为返回值。但是java-client没办法解析这个类型
   
   <img width="1050" alt="1637428671264_41DC60BB-090A-4A12-91AF-B3EB7E2B2AEB" src="https://user-images.githubusercontent.com/38887641/142748713-70f60558-e248-48d2-adb5-aedcdcc3e9c0.png">
   ![1637428671267_A00F0138-F775-400A-AAA9-247440E1267B](https://user-images.githubusercontent.com/38887641/142748716-f04348a5-2edc-4bab-8892-0a91f6e6d764.png)
   
   **What you expected to happen**:
   希望java-client能识别 J 为int类型,并解析出response
   
   **How to reproduce it (as minimally and precisely as possible)**:
   可以参考dubbogo-sample这个例子,能复现问题:
   https://github.com/luky116/dubbo-go-samples/tree/fix-tpcTripleHessian2/rpc/triple/hessian2
   
   
   **Anything else we need to know?**:
   no


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] wongoo commented on issue #291: dubbo-java 调用 dubbo-go方法,如果方法返回值为 基本类型,java侧无法解析

Posted by GitBox <gi...@apache.org>.
wongoo commented on issue #291:
URL: https://github.com/apache/dubbo-go-hessian2/issues/291#issuecomment-987420524


   @sanxun0325 pls add a link ref to the pr submitted in dubbo-go.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] sanxun0325 edited a comment on issue #291: dubbo-java 调用 dubbo-go方法,如果方法返回值为 基本类型,java侧无法解析

Posted by GitBox <gi...@apache.org>.
sanxun0325 edited a comment on issue #291:
URL: https://github.com/apache/dubbo-go-hessian2/issues/291#issuecomment-986891305


   @luky116 已经定位到问题的根因,只有tri协议时才会出现,我会在dubbo-go/grpc-go中提交pr修复它,这个问题本质和hessian2无关


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] sanxun0325 commented on issue #291: dubbo-java 调用 dubbo-go方法,如果方法返回值为 基本类型,java侧无法解析

Posted by GitBox <gi...@apache.org>.
sanxun0325 commented on issue #291:
URL: https://github.com/apache/dubbo-go-hessian2/issues/291#issuecomment-986891305


   @luky116 已经定位到问题的根因,只有tri协议时才会出现,我会在dubbo/grpc-go中提交pr修复它,这个问题本质和hessian2无关


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org