You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2020/07/14 08:18:06 UTC

[Bug 64508] java.lang.NumberFormatException: For input string: ""

https://bz.apache.org/bugzilla/show_bug.cgi?id=64508

--- Comment #2 from chenlin <74...@qq.com> ---

(In reply to Kovi from comment #1)
> 创建了附件37298  [详细信息] 
> 测试项目

Test cases provided by you 
Add a condition in the place where you are marking: 
if (_cell.isSetV() && _cell.getV()! ="") { 
                        int idx = Integer.parseInt(_cell.getV()); 
                        rt = new
XSSFRichTextString(_sharedStringSource.getEntryAt(idx)); 
                    } 
It seems to solve the problem and will not cause the original logic to be
damaged.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org