【发布时间】:2016-05-26 00:37:57
【问题描述】:
Jess在例程调用中报错
while executing (call ?fopc charAt ?index)
while executing (bind ?c (call ?fopc charAt ?index))
Message: Called method threw an exception.
程序是:
【问题讨论】:
标签: jess
Jess在例程调用中报错
while executing (call ?fopc charAt ?index)
while executing (bind ?c (call ?fopc charAt ?index))
Message: Called method threw an exception.
程序是:
【问题讨论】:
标签: jess
如果您正在调用 Java 方法 charAt,则可能有两个原因导致异常。
?fopc 未绑定到对象 java.lang.String(或定义了 charAt 的其他类之一)。?index 不小于字符串的长度或负数。提供完整的 Jess 示例 - 请不要链接 - 以重现错误。
【讨论】: