序
今天导出Excel使用EasyPoi工具,发现图片导出一直报错出现越界问题java.lang.ArrayIndexOutOfBoundsException: 0
问题
报错java.lang.ArrayIndexOutOfBoundsException: 0或ExcelExportException: Excel导出错误
cn.afterturn.easypoi.exception.excel.ExcelExportException: Excel导出错误
at cn.afterturn.easypoi.excel.export.base.BaseExportService.createCells(BaseExportService.java:147) ~[easypoi-base-3.2.0.jar!/:na]
at cn.afterturn.easypoi.excel.export.ExcelExportService.insertDataToSheet(ExcelExportService.java:178) [easypoi-base-3.2.0.jar!/:na]
at cn.afterturn.easypoi.excel.export.ExcelExportService.createSheetForMap(ExcelExportService.java:145) [easypoi-base-3.2.0.jar!/:na]
at cn.afterturn.easypoi.excel.export.ExcelExportService.createSheet(ExcelExportService.java:115) [easypoi-base-3.2.0.jar!/:na]
at cn.afterturn.easypoi.excel.ExcelExportUtil.exportExcel(ExcelExportUtil.