diff --git a/core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java b/core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java index bb36bb5d91c..b2dd6125dcd 100644 --- a/core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java +++ b/core/src/main/java/com/taobao/arthas/core/command/klass100/OgnlCommand.java @@ -102,7 +102,8 @@ public void process(CommandProcess process) { Express unpooledExpress = ExpressFactory.unpooledExpress(classLoader); try { - Object value = unpooledExpress.get(express); + // https://github.com/alibaba/arthas/issues/2892 + Object value = unpooledExpress.bind(new Object()).get(express); OgnlModel ognlModel = new OgnlModel() .setValue(new ObjectVO(value, expand)); process.appendResult(ognlModel);