-
关壮壮 数据达人Lv4
发表于2023-8-15 02:10
悬赏1
已解决
楼主
同时设置了横向和纵向两种固定维单元格,设置了钻取,为什么预览点击的时候会报错呢
这个是报错信息
并行计算报表模板时出现如下异常:[GRID1(0.2.6.3)]计算浮动表元 GRID1->A3 (SCPXKB.MONO)时出错:优化过滤条件(SCPZTTJB.STATUS=0)&(SCPZTTJB.OPNO='ZYZ002')时出错!,详情:com.esen.exception.RuntimeException4I18N: [GRID1(0.2.6.3)]计算浮动表元 GRID1->A3 (SCPXKB.MONO)时出错:优化过滤条件(SCPZTTJB.STATUS=0)&(SCPZTTJB.OPNO='ZYZ002')时出错! at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.addRealTable(ExpToSql.java:822) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.addRealTable(ExpToSql.java:781) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.procDataCell(ExpToSql.java:707) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.procExpCellInfo(ExpToSql.java:536) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.procDataCell(ExpToSql.java:458) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.formatZz(ExpToSql.java:1360) at com.esen.util.exp.ExpVarImpl.formatZz(ExpVarImpl.java:81) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:733) at com.esen.jdbc.FormatExpToSqlExp.formatOpNode(FormatExpToSqlExp.java:292) at com.esen.jdbc.FormatExpToSqlExp.formatNode(FormatExpToSqlExp.java:116) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.formatNode(ExpToSql.java:1392) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:684) at com.esen.util.exp.ExpressionNode.formatZz_OP_Node(ExpressionNode.java:882) at com.esen.util.exp.ExpressionNode.formatZz_op(ExpressionNode.java:860) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:721) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:673) at com.esen.jdbc.FormatExpToSqlExp.toSqlExp(FormatExpToSqlExp.java:69) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.translateToSql(ExpToSql.java:209) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.translateToSql(ExpToSql.java:189) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.translateToSql(ExpToSql.java:226) at com.esen.ebibase.rptbase.calc.db.olap.FilterExpressionHelper.optimizeFilterExpression(FilterExpressionHelper.java:98) at com.esen.ebibase.rptbase.calc.db.olap.FilterExpressionHelper.optimizeAllFilterExpression(FilterExpressionHelper.java:59) at com.esen.ebibase.rptbase.calc.db.olap.OlapSqlSingleMakerImpl.(OlapSqlSingleMakerImpl.java:135) at com.esen.ebibase.rptbase.calc.db.top.impl.OlapSqlMakerImpl.getsimpleOlapTable(OlapSqlMakerImpl.java:198) at com.esen.ebibase.rptbase.calc.db.top.impl.OlapSqlMakerImpl.getNestOlapSql(OlapSqlMakerImpl.java:79) at com.esen.ebibase.rptbase.calc.db.top.impl.OlapSqlMakerImpl.getMultiOlapSql(OlapSqlMakerImpl.java:95) at com.esen.ebibase.rptbase.calc.db.top.OlapResultMultImpl.doit(OlapResultMultImpl.java:256) at com.esen.ebibase.rptbase.calc.db.top.OlapResultMultImpl.(OlapResultMultImpl.java:118) at com.esen.ebibase.rptbase.calc.db.top.CalcOlapResult.calcGroupOlap(CalcOlapResult.java:79) at com.esen.ebibase.rptbase.calc.impl.GroupOlapEngine.calc(GroupOlapEngine.java:36) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.calcOlap(OLTPResultManager.java:610) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.getOltpResult(OLTPResultManager.java:599) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.getOltpData4AutoOlap(OLTPResultManager.java:159) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.getOltpData(OLTPResultManager.java:89) at com.esen.ebibase.rptbase.calc.impl.cache.FxBaseAnalyseReportCalc.getOltpData(FxBaseAnalyseReportCalc.java:506) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqCalc.getOltpData(FloatFxqCalc.java:251) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqInnerCalc.getOltpData(FloatFxqInnerCalc.java:81) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.getOltpData(FloatFxqInnerCalc.java:1369) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.getOltpData(FloatFxqInnerCalc.java:1340) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float_autoolap_processdata_select(FloatFxqInnerCalc.java:1211) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float_autoolap_processdata(FloatFxqInnerCalc.java:1001) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float_oltp(FloatFxqInnerCalc.java:937) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float(FloatFxqInnerCalc.java:891) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult(FloatFxqInnerCalc.java:150) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqInnerCalc.calc(FloatFxqInnerCalc.java:60) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqCalc.calc(FloatFxqCalc.java:247) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatRectInFxqResultImpl.processResult(FloatRectInFxqResultImpl.java:61) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.RectsInFxqResultImpl.processResult(RectsInFxqResultImpl.java:103) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqResultImpl.processResult(FloatFxqResultImpl.java:121) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqCalc.calc(FloatFxqCalc.java:83) at com.esen.ebibase.rptbase.calc.impl.FxCalc.calc(FxCalc.java:34) at com.esen.ebibase.rptbase.calc.impl.cache.RequestTask_FxqCalc.doRun(RequestTask_FxqCalc.java:107) at com.esen.ebibase.req.AbstractRequestTask.call(AbstractRequestTask.java:87) at com.esen.ethreadpool.req.RequestTaskFutureImpl.call(RequestTaskFutureImpl.java:100) at com.esen.scheduling.LocaleTask.call(LocaleTask.java:56) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: com.esen.exception.RuntimeException4I18N: 优化过滤条件(SCPZTTJB.STATUS=0)&(SCPZTTJB.OPNO='ZYZ002')时出错! ... 59 more Caused by: java.lang.RuntimeException: 主源表SCPXKB和SCPZTTJB没有设置关联关系; ... 59 more
这个是报错信息
并行计算报表模板时出现如下异常:[GRID1(0.2.6.3)]计算浮动表元 GRID1->A3 (SCPXKB.MONO)时出错:优化过滤条件(SCPZTTJB.STATUS=0)&(SCPZTTJB.OPNO='ZYZ002')时出错!,详情:com.esen.exception.RuntimeException4I18N: [GRID1(0.2.6.3)]计算浮动表元 GRID1->A3 (SCPXKB.MONO)时出错:优化过滤条件(SCPZTTJB.STATUS=0)&(SCPZTTJB.OPNO='ZYZ002')时出错! at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.addRealTable(ExpToSql.java:822) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.addRealTable(ExpToSql.java:781) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.procDataCell(ExpToSql.java:707) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.procExpCellInfo(ExpToSql.java:536) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.procDataCell(ExpToSql.java:458) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.formatZz(ExpToSql.java:1360) at com.esen.util.exp.ExpVarImpl.formatZz(ExpVarImpl.java:81) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:733) at com.esen.jdbc.FormatExpToSqlExp.formatOpNode(FormatExpToSqlExp.java:292) at com.esen.jdbc.FormatExpToSqlExp.formatNode(FormatExpToSqlExp.java:116) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.formatNode(ExpToSql.java:1392) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:684) at com.esen.util.exp.ExpressionNode.formatZz_OP_Node(ExpressionNode.java:882) at com.esen.util.exp.ExpressionNode.formatZz_op(ExpressionNode.java:860) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:721) at com.esen.util.exp.ExpressionNode.formatZz(ExpressionNode.java:673) at com.esen.jdbc.FormatExpToSqlExp.toSqlExp(FormatExpToSqlExp.java:69) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.translateToSql(ExpToSql.java:209) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.translateToSql(ExpToSql.java:189) at com.esen.ebibase.rptbase.calc.db.olap.ExpToSql.translateToSql(ExpToSql.java:226) at com.esen.ebibase.rptbase.calc.db.olap.FilterExpressionHelper.optimizeFilterExpression(FilterExpressionHelper.java:98) at com.esen.ebibase.rptbase.calc.db.olap.FilterExpressionHelper.optimizeAllFilterExpression(FilterExpressionHelper.java:59) at com.esen.ebibase.rptbase.calc.db.olap.OlapSqlSingleMakerImpl.(OlapSqlSingleMakerImpl.java:135) at com.esen.ebibase.rptbase.calc.db.top.impl.OlapSqlMakerImpl.getsimpleOlapTable(OlapSqlMakerImpl.java:198) at com.esen.ebibase.rptbase.calc.db.top.impl.OlapSqlMakerImpl.getNestOlapSql(OlapSqlMakerImpl.java:79) at com.esen.ebibase.rptbase.calc.db.top.impl.OlapSqlMakerImpl.getMultiOlapSql(OlapSqlMakerImpl.java:95) at com.esen.ebibase.rptbase.calc.db.top.OlapResultMultImpl.doit(OlapResultMultImpl.java:256) at com.esen.ebibase.rptbase.calc.db.top.OlapResultMultImpl.(OlapResultMultImpl.java:118) at com.esen.ebibase.rptbase.calc.db.top.CalcOlapResult.calcGroupOlap(CalcOlapResult.java:79) at com.esen.ebibase.rptbase.calc.impl.GroupOlapEngine.calc(GroupOlapEngine.java:36) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.calcOlap(OLTPResultManager.java:610) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.getOltpResult(OLTPResultManager.java:599) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.getOltpData4AutoOlap(OLTPResultManager.java:159) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.OLTPResultManager.getOltpData(OLTPResultManager.java:89) at com.esen.ebibase.rptbase.calc.impl.cache.FxBaseAnalyseReportCalc.getOltpData(FxBaseAnalyseReportCalc.java:506) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqCalc.getOltpData(FloatFxqCalc.java:251) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqInnerCalc.getOltpData(FloatFxqInnerCalc.java:81) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.getOltpData(FloatFxqInnerCalc.java:1369) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.getOltpData(FloatFxqInnerCalc.java:1340) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float_autoolap_processdata_select(FloatFxqInnerCalc.java:1211) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float_autoolap_processdata(FloatFxqInnerCalc.java:1001) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float_oltp(FloatFxqInnerCalc.java:937) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult_float(FloatFxqInnerCalc.java:891) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.QueryRectsResult_Impl.collectResult(FloatFxqInnerCalc.java:150) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqInnerCalc.calc(FloatFxqInnerCalc.java:60) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqCalc.calc(FloatFxqCalc.java:247) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatRectInFxqResultImpl.processResult(FloatRectInFxqResultImpl.java:61) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.RectsInFxqResultImpl.processResult(RectsInFxqResultImpl.java:103) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqResultImpl.processResult(FloatFxqResultImpl.java:121) at com.esen.ebibase.rptbase.calc.impl.cache.floatfxq2.FloatFxqCalc.calc(FloatFxqCalc.java:83) at com.esen.ebibase.rptbase.calc.impl.FxCalc.calc(FxCalc.java:34) at com.esen.ebibase.rptbase.calc.impl.cache.RequestTask_FxqCalc.doRun(RequestTask_FxqCalc.java:107) at com.esen.ebibase.req.AbstractRequestTask.call(AbstractRequestTask.java:87) at com.esen.ethreadpool.req.RequestTaskFutureImpl.call(RequestTaskFutureImpl.java:100) at com.esen.scheduling.LocaleTask.call(LocaleTask.java:56) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: com.esen.exception.RuntimeException4I18N: 优化过滤条件(SCPZTTJB.STATUS=0)&(SCPZTTJB.OPNO='ZYZ002')时出错! ... 59 more Caused by: java.lang.RuntimeException: 主源表SCPXKB和SCPZTTJB没有设置关联关系; ... 59 more