提交 91c03412 编写于 作者: O o2null

修复在视图列中使用脚本中返回js对象导致的错误:Caused by: java.lang.IllegalStateException: The Context is already closed.

上级 7d2a8f25
......@@ -230,7 +230,7 @@ public abstract class Plan extends GsonPropertyObject {
text.append("'entry':extractObject.getEntry(),\n");
text.append("'columnName':extractObject.getColumn()\n");
text.append("}\n");
text.append("extractObject.setValue(executeScript.apply(obj));\n");
text.append("extractObject.setValue(executeScript.apply(obj)?.toString());\n");
text.append("}");
// CompiledScript cs = ScriptingFactory.compile(text.toString());
Source source = GraalvmScriptingFactory.source(text.toString());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册