dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

Open asimplepeople opened this issue 3 years ago • 2 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.3
  • Operating System version: xxx
  • Java version: xxx

Steps to reproduce this issue

  1. 编写request

public class xxxxxxRequest implements Serializable { private static final long serialVersionUID = 1L; private List<String> ids; } 泛化调用 "request": { "ids": [1] } 2. image 4. image

Pls. provide [GitHub address] to reproduce this issue.

Expected Behavior

正确的抛出类型转换错误而不是在调用for循环的时候抛类型转换错误

Actual Behavior

If there is an exception, please attach the exception trace:

Just put your stack trace here!

asimplepeople avatar Dec 15 '22 16:12 asimplepeople

plz update latest version to try it.

EarthChen avatar Dec 16 '22 04:12 EarthChen

please assign to me

samyScott avatar Jan 30 '23 09:01 samyScott

@samyScott Is there any progerss?

CrazyHZM avatar Dec 28 '23 06:12 CrazyHZM