- Arthas 版本: 3.5.5
- 操作系统版本: win10
- 目标进程的JVM版本: jdk8
子类继承父类,子类是bean,父类不是bean,选择想通过ognl调用父类的方法,无法调用
Failed to execute ognl, exception message: ognl.MethodFailedException: Method "get" failed for object com.mcd.cn.bbl.c8s.redis.C8sRedisClient@32dcc2aa [java.lang.NullPointerException], please check $HOME/logs/arthas/arthas.log for more details. 用子类调用报没有这个方法
Failed to execute ognl, exception message: ognl.MethodFailedException: Method "getBean" failed for object org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2bbaf4f0, started on Fri Jan 21 15:35:55 GMT+08:00 2022 [org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'abstractRedisClient' available], please check $HOME/logs/arthas/arthas.log for more details. 用父类调用,报没有这个bean
期望的结果可以调用
实际运行的结果无法调用