我试图在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'
查询输出一些行。
任何帮助都会被挪用。谢谢。
答案 0 :(得分:0)
Jython提供了错误的错误堆栈。错误的原因是在do_something()过程中没有反映在堆栈中。