poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45322] POI reportSheet.autoSizeColumn java.lang.ArrayIndexOutOfBoundsException: -1 HSSFDataFormat.getFormat
Date Wed, 28 Oct 2009 19:25:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45322

--- Comment #5 from michael.ramirez@apollogrp.edu 2009-10-28 12:25:46 UTC ---
FYI: The following line of code was added to bypass the exception:

if ( null != row.getCell(i) && null != row.getCell(i).getCellStyle() &&
row.getCell(i).getCellStyle().getDataFormat() > -1 )

With that line removed, the exception occurs at:

sheet.autoSizeColumn((short)i);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message