[Bug] 录制接口Path在做路径映射时,docker容器启动的情况下会报错,反射获取类失败。此bug会造成如果url不同,频率采集失效

Open
#565 1 comment 0 reactions 1 assignee View on GitHub

@lucas-myx is already working on this.

Since Sep 12, 2024.

Assessment

This issue has not been assessed yet.

Description

bug :lady_beetle:
Search before asking
  • I have searched the existing issues before asking.
AREX Test Service

AREX Java Agent (arextest/arex-agent-java)

Current Behavior

本地通过IDEA调试功能正常,可以正确匹配路径,但是一旦放到容器中,反射就会失败
通过日志打印,可以看到,类虽然能够获取到,但是在getMatchMethodHolder.invoke(mappingInfo, httpServletRequest);时报错。
afd98bed36bcf8efbf3467d0f55398a0

Expected Behavior

我改为普通反射时,功能正常
9a82d0b273b3302ee142bc4bf8cfc87e

Steps To Reproduce

Spring版本 5.2.15 Release

Anything else

No response

Are you willing to submit a pull request to fix on your own?
  • Yes I am willing to submit a pull request on my own!
Dominant language
Java
Stars
566
Forks
141
Avg merge
36m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arextest/arex-agent-java

All issues in arextest/arex-agent-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.