Skip to content

1.修复getCell读取空行越界 2.获取图片增加类型判断#126

Open
lly-ke wants to merge 3 commits intojeecgboot:masterfrom
lly-ke:master
Open

1.修复getCell读取空行越界 2.获取图片增加类型判断#126
lly-ke wants to merge 3 commits intojeecgboot:masterfrom
lly-ke:master

Conversation

@lly-ke
Copy link
Contributor

@lly-ke lly-ke commented Aug 20, 2024

增加判断防止空行firstCellNum取值为-1, 导致抛出 row.getCell(i) 异常

#116
#63

获取图片增加类型判断
#107
#83
#73

@annihilationism
Copy link

这个问题的修复在哪个版本,我看了1.4.10都还没有更新

@lly-ke lly-ke changed the title 修复getCell读取空行越界 1.修复getCell读取空行越界 2.获取图片增加类型判断 Sep 27, 2024
@customysc
Copy link

1.4.11还没有解决这个问题,希望官方能尽快解决
我也遇到了类似的问题,报错分别是
1、索引越界
Cell index must be >= 0
2、类型转换失败
class org.apache.poi.xssf.usermodel.XSSFSimpleShape cannot be cast to class org.apache.poi.xssf.usermodel.XSSFPicture (org.apache.poi.xssf.usermodel.XSSFSimpleShape and org.apache.poi.xssf.usermodel.XSSFPicture are in unnamed module of loader 'app')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants