游标出现空指针

游标里面加上条件表达式报空指针了,cursor 游标后面接的函数都报空指针,没有找到什么函数判断游标,用了 bool 函数和!=null 都不能判断游标对象是否为空

报错如下:
c3b77aa51e32c3a7c1f8278720c3dcdpng

com.scudata.common.RQException:
at com.scudata.cellset.datamodel.PgmCellSet.runNext2(PgmCellSet.java:2037)
at com.scudata.cellset.datamodel.PgmCellSet.run(PgmCellSet.java:2084)
at com.scudata.ide.spl.SheetSpl.runCellSet(SheetSpl.java:1367)
at com.scudata.ide.spl.SheetSpl$RunThread.run(SheetSpl.java:1618)
Caused by: java.lang.NullPointerException
at com.scudata.dw.Cursor.getModify(Cursor.java:2219)
at com.scudata.dw.Cursor.getData(Cursor.java:1305)
at com.scudata.dw.Cursor.get(Cursor.java:1223)
at com.scudata.dm.cursor.ICursor.fetch(ICursor.java:339)
at com.scudata.dm.cursor.ICursor.fetch(ICursor.java:322)
at com.scudata.expression.mfn.cursor.Fetch.calculate(Fetch.java:23)
at com.scudata.expression.operator.DotOperator.calculate(DotOperator.java:86)
at com.scudata.expression.Expression.calculate(Expression.java:160)
at com.scudata.cellset.datamodel.PgmNormalCell.calculate(PgmNormalCell.java:159)
at com.scudata.cellset.datamodel.PgmCellSet.runNext2(PgmCellSet.java:1949)
… 3 more