Bug 54564 - [PATCH] Invalid range in error message when accessing out of range sheet
Summary: [PATCH] Invalid range in error message when accessing out of range sheet
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.10-dev
Hardware: PC Linux
: P2 trivial (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 11:20 UTC by Florian Hopf
Modified: 2013-06-25 15:20 UTC (History)
1 user (show)



Attachments
simple text enhancement and a fix that prints (no sheets) instead of the range (2.30 KB, text/plain)
2013-02-15 11:20 UTC, Florian Hopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Hopf 2013-02-15 11:20:26 UTC
Created attachment 29956 [details]
simple text enhancement and a fix that prints (no sheets) instead of the range

When accessing a sheet by index for a Workbook with no sheets the Exception message looks rather strange: Sheet index (12) is out of range (0..-1)
Comment 1 Nick Burch 2013-06-25 15:20:04 UTC
Thanks, applied in r1496516.