Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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