From 4340d4df73d4a76a4ef98dca6902c87ce91c6dd9 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Wed, 20 Sep 2023 11:09:21 +0800 Subject: [PATCH] update faq.md --- site/docs/doc/faq.md | 8 ++++++++ site/docs/en/doc/faq.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/site/docs/doc/faq.md b/site/docs/doc/faq.md index fd01e02cc..a1989b475 100644 --- a/site/docs/doc/faq.md +++ b/site/docs/doc/faq.md @@ -114,3 +114,11 @@ ognl '@java.lang.System@out.println("Hello \u4e2d\u6587")' 比如启动的 `as.sh/arthas-boot.jar` 版本是 3.5._ 的,但是连接上之后,打印的 arthas 版本是 3.4._ 的。 可能是之前使用旧版本的 arthas 诊断过目标进程。可以先执行`stop`停止掉旧版本的 arthas,再重新使用新版本 attach。 + + +### 在ognl表达式中获取到 spring bean cglib 对象,但是 field 是 null + +参考: + +* [https://github.com/alibaba/arthas/issues/1802](https://github.com/alibaba/arthas/issues/1802) +* [https://github.com/alibaba/arthas/issues/1424](https://github.com/alibaba/arthas/issues/1424) diff --git a/site/docs/en/doc/faq.md b/site/docs/en/doc/faq.md index cb4c084aa..cbb4adc67 100644 --- a/site/docs/en/doc/faq.md +++ b/site/docs/en/doc/faq.md @@ -114,3 +114,11 @@ Reference: [https://github.com/alibaba/arthas/issues/362#issuecomment-448185416] For example, the started version of `as.sh/arthas-boot.jar` is 3.5._, but after connecting, the printed arthas version is 3.4._. It may be that the target process has been diagnosed with the old version of arthas before. You can execute `stop` to stop the old version of arthas, and then reuse the new version to attach. + + +### The spring bean cglib object is obtained in the ognl expression, but the field is null + +Reference: + +* [https://github.com/alibaba/arthas/issues/1802](https://github.com/alibaba/arthas/issues/1802) +* [https://github.com/alibaba/arthas/issues/1424](https://github.com/alibaba/arthas/issues/1424) \ No newline at end of file