dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From penghcn (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] penghcn opened issue #3784: 服务端从2.5.8升级到2.7.1后,Version.getIntVersion报错,响应失败
Date Mon, 01 Apr 2019 07:48:32 GMT
Fail to encode response: Response [id=399, version=client, status=20, event=false, error=null,
result=RpcResult [result=cn.pengh.core.rpc.DubboResponse@4c2638bf, exception=null]], send
bad_response info instead, cause: For input string: "", dubbo version: 2.7.1, current host:
192.168.8.29
java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_101]
	at java.lang.Integer.parseInt(Integer.java:592) ~[?:1.8.0_101]
	at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_101]
	at org.apache.dubbo.common.Version.parseInt(Version.java:128) ~[dubbo-2.7.1.jar:2.7.1]
	at org.apache.dubbo.common.Version.getIntVersion(Version.java:113) ~[dubbo-2.7.1.jar:2.7.1]
	at org.apache.dubbo.common.Version.isSupportResponseAttachment(Version.java:102) ~[dubbo-2.7.1.jar:2.7.1]
	at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.encodeResponseData(DubboCodec.java:194)
~[dubbo-2.7.1.jar:2.7.1]
	at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.encodeResponse(ExchangeCodec.java:283)
[dubbo-2.7.1.jar:2.7.1]
	at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.encode(ExchangeCodec.java:71) [dubbo-2.7.1.jar:2.7.1]
	at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.encode(DubboCountCodec.java:38) [dubbo-2.7.1.jar:2.7.1]
	at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalEncoder.encode(NettyCodecAdapter.java:70)
[dubbo-2.7.1.jar:2.7.1]
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) [netty-all-4.1.32.Final.jar:4.1.32.Final]

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3784 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


Mime
View raw message