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 2021/05/07 14:31:05 UTC
[Bug 65293] New: NPE in HwmfPicture in init()
https://bz.apache.org/bugzilla/show_bug.cgi?id=65293
Bug ID: 65293
Summary: NPE in HwmfPicture in init()
Product: POI
Version: 5.0.x-dev
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
Assignee: dev@poi.apache.org
Reporter: tallison@apache.org
Target Milestone: ---
Created attachment 37850
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37850&action=edit
Triggering file
Thanks to Andi, I integrated 5.0.1-SNAPSHOT into Tika and ran our regression
tests. I found a new-since-4.x NPE when running init on WMF files.
This line in HwmfFont causes the issue:
int readBytes = this.readString(leis, sb, 32, this.charSet.getCharset());
In the triggering files, this.charSet is null.
--
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
[Bug 65293] NPE in HwmfPicture in init()
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65293
Tim Allison <ta...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Tim Allison <ta...@apache.org> ---
Added null check
--
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