codingapi / codingapi/tx-lcn

在做ACTION_HEART_CHECK的时候,传过来的msg cannot be cast to java.lang.Long

Open
#465 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4.2k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

master分支(未修改源码)

msg生成code
MessageDto messageDto = new MessageDto();
messageDto.setAction(MessageConstants.ACTION_HEART_CHECK);
heartCmd = new NettyRpcCmd();
heartCmd.setMsg(messageDto);
heartCmd.setKey(RandomUtils.simpleKey());

yi xia以下是debug过来的数据
![image](https://user-images.githubusercontent.com/39616457/69209204-54420e00-0b91-11ea-948d-68de932b5219.png)

然后就报错
![image](https://user-images.githubusercontent.com/39616457/69209237-6cb22880-0b91-11ea-8333-41a4f2e4cc8e.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.