我正在尝试在aftload事件中检索数据:
RSet = fdmAPI.executeQuery("SELECT * FROM HYP_CST.dbo.STAGING", [])
while RSet.next():
do_something()
获取以下例外:
FATAL [AIF]: Error in CommData.loadData
Traceback (most recent call last):
File "<string>", line 4746, in loadData
File "<string>", line 445, in executeScript
File "F:FDMEE/data/scripts/event/AftLoad.py", line 54, in <module>
while RSet.next():
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
查询输出一些行。
任何帮助都将得到分配。谢谢。
jython提供了错误的错误堆栈。错误的原因在于do_something()堆栈中未反映的过程中。