arex-agent-java icon indicating copy to clipboard operation
arex-agent-java copied to clipboard

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

Open youzhili opened this issue 5 months ago • 1 comments

Search before asking

  • [X] 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!

youzhili avatar Sep 12 '24 02:09 youzhili