arextest / arextest/arex-agent-java

[Bug] dubbo回放时,dubbo请求体为泛型时,会出现java.util.Map cannot be cast to com.xxx.xxx.bo.QueryReq错误

Open
#504 0 comments 0 reactions 0 assignees View on GitHub
bug :lady_beetle:
Dominant language
Java
Stars
564
Forks
140
Avg merge
36m
Merged PRs (30d)
2

Description

### Search before asking

- [X] I have searched the existing [issues](https://github.com/arextest/arex-agent-java/issues) before asking.

### AREX Test Service

Schedule Service (arextest/arex-replay-schedule)

### Current Behavior

image

```java
public class Request extends BaseRequest {
private @Valid @NotNull T data;
```

### Expected Behavior

回放正常

### Steps To Reproduce

image

### Anything else

schdule version: 1.1.10

### Are you willing to submit a pull request to fix on your own?

- [X] Yes I am willing to submit a pull request on my own!

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are mentioned. Reproduce the Dubbo replay with the generic Request body and trace the java.util.Map-to-QueryReq cast failure; done means the replay completes normally for this request shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.