-
wangpf 数据达人Lv4
发表于2019-6-28 10:20
楼主
设置数字的计算方式的时候点击比重,发现报了这个错。
具体详情:java.lang.ClassCastException: com.esen.eqbibase.olap.sql.olap.OffsetRealTable cannot be cast to com.esen.db.sql.SelectTable
at com.esen.eqbibase.olap.sql.helper.SpecialAnalyseHelperSQL92Impl.procBizSelectTalbe(SpecialAnalyseHelperSQL92Impl.java:360)
at com.esen.eqbibase.olap.sql.helper.SpecialAnalyseHelperSQL92Impl.procBizSelectTalbe(SpecialAnalyseHelperSQL92Impl.java:327)
at com.esen.eqbibase.olap.sql.helper.SpecialAnalyseHelperSQL92Impl.procPmBiz(SpecialAnalyseHelperSQL92Impl.java:283)
at com.esen.eqbibase.olap.sql.OlapSqlSingleMakerImpl.(OlapSqlSingleMakerImpl.java:153)
at com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getsimpleOlapTable(OlapSqlMakerImpl.java:210)
at com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getNestOlapSql(OlapSqlMakerImpl.java:62)
at com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getMultiOlapSql(OlapSqlMakerImpl.java:98)
at com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getSelectTable(OlapSqlMakerImpl.java:719)
at com.esen.eqbibase.olap.FxSqlOlapCalc.calc(FxSqlOlapCalc.java:83)
at com.esen.eqbibase.calc.FxCalcQWidgetOlapAnalyse.calc(FxCalcQWidgetOlapAnalyse.java:56)
at com.esen.eqbibase.calc.calcimpl.ReportQCalc_calc_qwc.calcQWidgetCalc(ReportQCalc_calc_qwc.java:312)
at com.esen.eqbibase.calc.calcimpl.ReportQCalc_calc_qwc.calcQwidgetList(ReportQCalc_calc_qwc.java:152)
at com.esen.eqbibase.calc.calcimpl.ReportQCalc_calc_qwc.calc(ReportQCalc_calc_qwc.java:69)
at com.esen.eqbibase.calc.RequestTask_QCalc.doCalc(RequestTask_QCalc.java:878)
at com.esen.eqbibase.calc.RequestTask_QCalc.calc(RequestTask_QCalc.java:144)
at com.esen.eqbibase.calc.RequestTask_QCalc.innerRun(RequestTask_QCalc.java:117)
at com.esen.eqbibase.calc.RequestTask_QCalc_Abstract.doRun(RequestTask_QCalc_Abstract.java:62)
at com.esen.eqbibase.req.AbstractRequestTask.call(AbstractRequestTask.java:57)
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:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
JavaScript StackTrace:
Error: com.esen.eqbibase.olap.sql.olap.OffsetRealTable%20cannot%20be%20cast%20to%20com.esen.db.sql.SelectTable%0D%0A--detailmessage--%0D%0A2019-06-28%2010%3A19%3A52%20%u5F00%u59CB%u8BA1%u7B97%u7EC4%u4EF6%uFF1AORDER_DATE%28HHH2%29%uFF08%u5185%u5B58%u60C5%u51B5%uFF1AFREE%3D1.4G%20TOTAL%3D3.9G%20MAX%3D17.8G%uFF09%0D%0A2019-06-28%2010%3A19%3A52%20%u5F00%u59CB%u6267%u884C%u7F16%u8BD1...%0D%0A2019-06-28%2010%3A19%3A52%20%u6267%u884C%u7F16%u8BD1%u8017%u65F60%u6BEB%u79D2%u3002%uFF08%u5185%u5B58%u60C5%u51B5%uFF1AFREE%3D1.4G%20TOTAL%3D3.9G%20MAX%3D17.8G%uFF09%0D%0A2019-06-28%2010%3A19%3A52%20%u6B63%u5728%u751F%u6210SQL...%0D%0Ajava.lang.ClassCastException%3A%20com.esen.eqbibase.olap.sql.olap.OffsetRealTable%20cannot%20be%20cast%20to%20com.esen.db.sql.SelectTable%0D%0A%09at%20com.esen.eqbibase.olap.sql.helper.SpecialAnalyseHelperSQL92Impl.procBizSelectTalbe%28SpecialAnalyseHelperSQL92Impl.java%3A360%29%0D%0A%09at%20com.esen.eqbibase.olap.sql.helper.SpecialAnalyseHelperSQL92Impl.procBizSelectTalbe%28SpecialAnalyseHelperSQL92Impl.java%3A327%29%0D%0A%09at%20com.esen.eqbibase.olap.sql.helper.SpecialAnalyseHelperSQL92Impl.procPmBiz%28SpecialAnalyseHelperSQL92Impl.java%3A283%29%0D%0A%09at%20com.esen.eqbibase.olap.sql.OlapSqlSingleMakerImpl.%3Cinit%3E%28OlapSqlSingleMakerImpl.java%3A153%29%0D%0A%09at%20com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getsimpleOlapTable%28OlapSqlMakerImpl.java%3A210%29%0D%0A%09at%20com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getNestOlapSql%28OlapSqlMakerImpl.java%3A62%29%0D%0A%09at%20com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getMultiOlapSql%28OlapSqlMakerImpl.java%3A98%29%0D%0A%09at%20com.esen.eqbibase.olap.sql.OlapSqlMakerImpl.getSelectTable%28OlapSqlMakerImpl.java%3A719%29%0D%0A%09at%20com.esen.eqbibase.olap.FxSqlOlapCalc.calc%28FxSqlOlapCalc.java%3A83%29%0D%0A%09at%20com.esen.eqbibase.calc.FxCalcQWidgetOlapAnalyse.calc%28FxCalcQWidgetOlapAnalyse.java%3A56%29%0D%0A%09at%20com.esen.eqbibase.calc.calcimpl.ReportQCalc_calc_qwc.calcQWidgetCalc%28ReportQCalc_calc_qwc.java%3A312%29%0D%0A%09at%20com.esen.eqbibase.calc.calcimpl.ReportQCalc_calc_qwc.calcQwidgetList%28ReportQCalc_calc_qwc.java%3A152%29%0D%0A%09at%20com.esen.eqbibase.calc.calcimpl.ReportQCalc_calc_qwc.calc%28ReportQCalc_calc_qwc.java%3A69%29%0D%0A%09at%20com.esen.eqbibase.calc.RequestTask_QCalc.doCalc%28RequestTask_QCalc.java%3A878%29%0D%0A%09at%20com.esen.eqbibase.calc.RequestTask_QCalc.calc%28RequestTask_QCalc.java%3A144%29%0D%0A%09at%20com.esen.eqbibase.calc.RequestTask_QCalc.innerRun%28RequestTask_QCalc.java%3A117%29%0D%0A%09at%20com.esen.eqbibase.calc.RequestTask_QCalc_Abstract.doRun%28RequestTask_QCalc_Abstract.java%3A62%29%0D%0A%09at%20com.esen.eqbibase.req.AbstractRequestTask.call%28AbstractRequestTask.java%3A57%29%0D%0A%09at%20com.esen.ethreadpool.req.RequestTaskFutureImpl.call%28RequestTaskFutureImpl.java%3A100%29%0D%0A%09at%20com.esen.scheduling.LocaleTask.call%28LocaleTask.java%3A56%29%0D%0A%09at%20java.util.concurrent.FutureTask.run%28FutureTask.java%3A262%29%0D%0A%09at%20java.util.concurrent.ThreadPoolExecutor.runWorker%28ThreadPoolExecutor.java%3A1145%29%0D%0A%09at%20java.util.concurrent.ThreadPoolExecutor%24Worker.run%28ThreadPoolExecutor.java%3A615%29%0D%0A%09at%20java.lang.Thread.run%28Thread.java%3A745%29%0D%0A%0D%0A
at QCalcNextQuery.handleStatusException (http://10.202.157.183:8080/abi514/eqbibase/merge/js/qutil_req_merge.js:1:5307)
at QCalcNextQuery.handleFinishThread (http://10.202.157.183:8080/abi514/eqbibase/merge/js/qutil_req_merge.js:1:6154)
at QCalcReq.onQueryFinish (http://10.202.157.183:8080/abi514/eqbibase/merge/js/qutil_req_merge.js:1:1843)
at QCalcReq._onQueryFinish (http://10.202.157.183:8080/abi514/eqbibase/merge/js/qutil_req_merge.js:1:509)
at QueryObj._onreadystatechange (http://10.202.157.183:8080/abi514/eui/eui.js:3537:6)
at XMLHttpRequest.hp.onreadystatechange (http://10.202.157.183:8080/abi514/eui/eui.js:3605:10)