-
-
zhougl 小试身手Lv3
发表于2019-6-18 16:48
悬赏50
已解决
楼主
BI47,中间件TOMCAT6.0
同一张报表,在其余电脑上导出正常,但是在一些客户电脑上导出EXCEL报如下错误,导出PDF没有问题,客户浏览器IE8:
2019-06-18 15:19:10.690 构造导出用的报表...
2019-06-18 15:19:10.692 构造报表完毕,正在导出报表:金融机构同业业务备案表...
java.lang.ArrayIndexOutOfBoundsException: 0
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.resolveWidgetGridColInfo(ReportPageExportExcelImpl.java:541)
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.resolveWidgetPosition(ReportPageExportExcelImpl.java:492)
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.createNewReportPageResult(ReportPageExportExcelImpl.java:401)
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.exportOnePage(ReportPageExportExcelImpl.java:205)
at com.esen.bi.export.AbstractReportPageExport.addReport(AbstractReportPageExport.java:250)
at com.esen.bi.export.AbstractReportPageExport.add(AbstractReportPageExport.java:145)
at com.esen.irpt.req.RequestTask_exportReportPage.doRun(RequestTask_exportReportPage.java:134)
at com.esen.irpt.req.AbstractRequestTask.call(AbstractRequestTask.java:85)
at com.esen.platform.common.req.RequestTaskRunner.call(RequestTaskRunner.java:75)
at com.esen.thread.LocaleTask.call(LocaleTask.java:60)
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)
页面地址为:【/bi/exportreportpage.do?action=query;last_getlogs_count=0;id=1】
JavaScript StackTrace:
function(d,c){if(!!c){var a=c.get("exceptionclass");if(!!a&&(a.endsWith("ExportUseTooMuchResException")||a.endsWith("OutofMemoryError"))){var b=this.exporter.exportParam.wnd.g_rptpage;if(!b.runtimeOptions){b.runtimeOptions={};}b.runtimeOptions["exportallpages_batchsize"]=1000;}}showError(d);this.exporter._closeDlgAndRemoveFile();}
function(c){try{c.checkResult();}catch(e){if(this.finishWithError){this.finishWithError(e);}if(!c.isResultException()&&!c.isResultError()){this.showError(e);return;}}this._loadStatus(c.getDetail());var a=this.status;if(c.isResultException()||c.isResultError()){try{var b=a.getLogs();if(!b){b=c.getDetail();}b+=I18N.getString("xui.util.js.41","\r\n\r\n页面地址为:【{0}】",[""+c.url+(c.params?"?"+c.params:"")+""]);throwError(c.getMessage(),b);}catch(d){if(!isMobile){this.showError(d,a.getOptions());}}return;}if(!this._id){this._id=this.status.getId();if(!this._id){throwError(I18N.getString("xui.util.js.43","提交计算请求后无法从服务器获得id"));}if(!a.isFinished()&&this.isCanceled()){this.cancel();}}if(this.showStatus){this.showStatus();}this.querynext();}
function _AbstractReqObj_onQueryFinish(b,a){a.onqueryobjfinish(b);}
function(){this._lastReadyState=this.hp.readyState;if(this.hp.readyState==4){this._clearTimeoutTimer();if(this.hp.status==undefined||this.hp.status==0||this.hp.status>12000){if(this._retry()){return;}}var onfinish=this.onfinish;if(typeof(onfinish)=="function"){onfinish(this,this.userdata);}else{eval(onfinish);}if(this.autodispose){this.dispose();}}}
function(){j._onreadystatechange();}
同一张报表,在其余电脑上导出正常,但是在一些客户电脑上导出EXCEL报如下错误,导出PDF没有问题,客户浏览器IE8:
2019-06-18 15:19:10.690 构造导出用的报表...
2019-06-18 15:19:10.692 构造报表完毕,正在导出报表:金融机构同业业务备案表...
java.lang.ArrayIndexOutOfBoundsException: 0
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.resolveWidgetGridColInfo(ReportPageExportExcelImpl.java:541)
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.resolveWidgetPosition(ReportPageExportExcelImpl.java:492)
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.createNewReportPageResult(ReportPageExportExcelImpl.java:401)
at com.esen.bi.export.impl.excel.ReportPageExportExcelImpl.exportOnePage(ReportPageExportExcelImpl.java:205)
at com.esen.bi.export.AbstractReportPageExport.addReport(AbstractReportPageExport.java:250)
at com.esen.bi.export.AbstractReportPageExport.add(AbstractReportPageExport.java:145)
at com.esen.irpt.req.RequestTask_exportReportPage.doRun(RequestTask_exportReportPage.java:134)
at com.esen.irpt.req.AbstractRequestTask.call(AbstractRequestTask.java:85)
at com.esen.platform.common.req.RequestTaskRunner.call(RequestTaskRunner.java:75)
at com.esen.thread.LocaleTask.call(LocaleTask.java:60)
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)
页面地址为:【/bi/exportreportpage.do?action=query;last_getlogs_count=0;id=1】
JavaScript StackTrace:
function(d,c){if(!!c){var a=c.get("exceptionclass");if(!!a&&(a.endsWith("ExportUseTooMuchResException")||a.endsWith("OutofMemoryError"))){var b=this.exporter.exportParam.wnd.g_rptpage;if(!b.runtimeOptions){b.runtimeOptions={};}b.runtimeOptions["exportallpages_batchsize"]=1000;}}showError(d);this.exporter._closeDlgAndRemoveFile();}
function(c){try{c.checkResult();}catch(e){if(this.finishWithError){this.finishWithError(e);}if(!c.isResultException()&&!c.isResultError()){this.showError(e);return;}}this._loadStatus(c.getDetail());var a=this.status;if(c.isResultException()||c.isResultError()){try{var b=a.getLogs();if(!b){b=c.getDetail();}b+=I18N.getString("xui.util.js.41","\r\n\r\n页面地址为:【{0}】",[""+c.url+(c.params?"?"+c.params:"")+""]);throwError(c.getMessage(),b);}catch(d){if(!isMobile){this.showError(d,a.getOptions());}}return;}if(!this._id){this._id=this.status.getId();if(!this._id){throwError(I18N.getString("xui.util.js.43","提交计算请求后无法从服务器获得id"));}if(!a.isFinished()&&this.isCanceled()){this.cancel();}}if(this.showStatus){this.showStatus();}this.querynext();}
function _AbstractReqObj_onQueryFinish(b,a){a.onqueryobjfinish(b);}
function(){this._lastReadyState=this.hp.readyState;if(this.hp.readyState==4){this._clearTimeoutTimer();if(this.hp.status==undefined||this.hp.status==0||this.hp.status>12000){if(this._retry()){return;}}var onfinish=this.onfinish;if(typeof(onfinish)=="function"){onfinish(this,this.userdata);}else{eval(onfinish);}if(this.autodispose){this.dispose();}}}
function(){j._onreadystatechange();}