https://bz.apache.org/bugzilla/show_bug.cgi?id=59214
Javen O'Neal <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #2 from Javen O'Neal <[email protected]> --- Seema like the problem is that active sheet index could potentially be out of range. What software was used to save Fir.xls? This seems like a bug on the creator of the file. We could band-aid this problem by changing getActiveSheetIndex to return 0 if out of range, though this would still break if there were no sheets in the workbook. A sheet index of -1 could be used to indicate no sheet is active, though that would always break an unchecked call to getSheetAt. What does Excel identify as the active sheet index if all sheets are deleted or hidden? Another solution to this problem is to provide a nullable getActiveSheet(). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
