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

--- Comment #5 from Patric Rufflar <pat...@rufflar.com> ---
Thanks for your quick response and fix!
First of all a fix in 5.2.x would be fine for me - thanks!

1. I agree - at least avoiding the NPE when not using auto-size at all is the
minimum we should do.


2. However, regarding "It is an optional feature and if your environment
doesn't allow it, it is easy to disable it.".

My problem is: 
We are not in control of each environment in which our products are used (e.g.
at the customer).

Question:
After fixing the issue in #1, I understand that 
org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet() will no longer fail.
So will sheet.autoSizeColumn(colNo) now just throw AWT's NPE in such an
environment?
If yes, would it be safe to just catch NPE in our code and continue or is the
state of POI (and/or the Worksheet) somehow broken?

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

Reply via email to