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/08/13 14:43:43 UTC

[Bug 64667] NPE in loading the StylesTable

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

--- Comment #1 from Tim Allison <ta...@apache.org> ---
Adding a null check fixes the problem on the offending file:

StylesTable.java:242
            if (ctTableStyles != null && styleDxfs != null) {

I'll wait for a clean build and then commit unless there are objections.

My preference is not to add the triggering file to our unit tests because its
size outweighs the scope of the problem/fix.

I can add a unit test with the file if desired.

-- 
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