SEVERE: com.scudata.common.RQException: 单元格 A10 中有错误 Stream Closed com.scudata.common.RQException: 单元格 A10 中有错误 Stream Closed at com.scudata.dw.PhyTable.getSegmentReader(Unknown Source:595) at com.scudata.dw.Cursor.$1(Unknown Source:966) at com.scudata.dw.Cursor.(Unknown Source:165) at com.scudata.dw.ColPhyTable.cursor(Unknown Source:1751) at com.scudata.dw.PhyTable.cursor(Unknown Source:1952) at com.scudata.dw.pseudo.PseudoTable.$1(Unknown Source:512) at com.scudata.dw.pseudo.PseudoTable.cursor(Unknown Source:705) at com.scudata.expression.mfn.pseudo.CreateCursor.createCursor(Unknown Source:34) at com.scudata.expression.mfn.pseudo.CreateCursor.calculate(Unknown Source:24) at com.scudata.expression.operator.DotOperator.calculate(Unknown Source:86) at com.scudata.expression.operator.DotOperator.$1(Unknown Source:61) at com.scudata.expression.operator.DotOperator.calculate(Unknown Source:77) at com.scudata.expression.operator.DotOperator.$1(Unknown Source:61) at com.scudata.expression.operator.DotOperator.calculate(Unknown Source:77) at com.scudata.expression.Expression.calculate(Unknown Source:160) at com.scudata.cellset.datamodel.PgmNormalCell.calculate(Unknown Source:159) at com.scudata.cellset.datamodel.PgmCellSet._$1(Unknown Source:1949) at com.scudata.cellset.datamodel.PgmCellSet.run(Unknown Source: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.io.IOException: Stream Closed at java.io.RandomAccessFile.seek0(Native Method) at java.io.RandomAccessFile.seek(RandomAccessFile.java:557) at com.scudata.dw.ComTable.loadBlock(Unknown Source:323) at com.scudata.dw.BlockLinkReader.loadBlock(Unknown Source:54) at com.scudata.dw.BlockLinkReader.loadFirstBlock(Unknown Source:49) at com.scudata.dw.PhyTable.getSegmentReader(Unknown Source:593) … 19 more
不用,如果不能工作,那可能是 BUG 了。
虚表计算一般不用写.cursor,直接.select 就可以了。
目前第一次运行
>env(p_ods,pseudo(rs))
后;再调用p_ods.groups('流程角色_nmbr';count(1):eventCount)
会抛出异常:stream Closed;如果 >env(p_ods,pseudo(rs).import()) 会 OOM,请问如何才是合理的写法???
报错堆栈有打印出来吗?我这试了一下这种用法,没能再现问题。
SEVERE: com.scudata.common.RQException: 单元格 A10 中有错误
Stream Closed
com.scudata.common.RQException: 单元格 A10 中有错误
Stream Closed
at com.scudata.dw.PhyTable.getSegmentReader(Unknown Source:595)
at com.scudata.dw.Cursor.$1(Unknown Source:966)
at com.scudata.dw.Cursor.(Unknown Source:165)
at com.scudata.dw.ColPhyTable.cursor(Unknown Source:1751)
at com.scudata.dw.PhyTable.cursor(Unknown Source:1952)
at com.scudata.dw.pseudo.PseudoTable.$1(Unknown Source:512)
at com.scudata.dw.pseudo.PseudoTable.cursor(Unknown Source:705)
at com.scudata.expression.mfn.pseudo.CreateCursor.createCursor(Unknown Source:34)
at com.scudata.expression.mfn.pseudo.CreateCursor.calculate(Unknown Source:24)
at com.scudata.expression.operator.DotOperator.calculate(Unknown Source:86)
at com.scudata.expression.operator.DotOperator.$1(Unknown Source:61)
at com.scudata.expression.operator.DotOperator.calculate(Unknown Source:77)
at com.scudata.expression.operator.DotOperator.$1(Unknown Source:61)
at com.scudata.expression.operator.DotOperator.calculate(Unknown Source:77)
at com.scudata.expression.Expression.calculate(Unknown Source:160)
at com.scudata.cellset.datamodel.PgmNormalCell.calculate(Unknown Source:159)
at com.scudata.cellset.datamodel.PgmCellSet._$1(Unknown Source:1949)
at com.scudata.cellset.datamodel.PgmCellSet.run(Unknown Source: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.io.IOException: Stream Closed
at java.io.RandomAccessFile.seek0(Native Method)
at java.io.RandomAccessFile.seek(RandomAccessFile.java:557)
at com.scudata.dw.ComTable.loadBlock(Unknown Source:323)
at com.scudata.dw.BlockLinkReader.loadBlock(Unknown Source:54)
at com.scudata.dw.BlockLinkReader.loadFirstBlock(Unknown Source:49)
at com.scudata.dw.PhyTable.getSegmentReader(Unknown Source:593)
… 19 more
A10 就是 =p_ods.select([“主办律师”,“开拓顾问”,“执行专员”].contain@b(流程角色 _nmbr.colVal)).import(1000) 这行
import(……) 参数不能是整数
import() 也不行
用的是最新的 jar 包吗?
是的,最新的 JAR 包
先不说 import。
groups 第二次调用肯定会报错吗?完整的脚本是什么样的?
给你发私信了,可以加我 QQ。
微信号多少?我加你
微信号多少,我加你
问题改好了。用最新的代码试试。
最新代码可以运行