mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
update faq.md
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user