“无法运行测试..空对象”上Bluemix

问题描述:

业务规则服务在测试上Bluemix业务规则服务我的规矩,我得到以下错误:“无法运行测试..空对象”上Bluemix

"Unable to run test Error when executing the ruleset /MyRuleApp/1.0/myrules/1.0

An error occurred while the rule session was called: com.ibm.rules.res.xu.internal.XUException: An error occurred during the ruleset execution. ilog.rules.engine.IlrUserRuntimeException:

null object when invoking public void myMethod()"

我misconstructed输入参数(它缺少大括号):

"foo": { 
     "name": "foo", 
     "id": "bar" 
    } 
} 

一旦我添加了大括号,我可以成功地运行测试。

+0

我拼写错误时看到了同样的错误。 –