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 46312] Specified rowIndex 30 is outside the allowable range (0..30)
Date Mon, 01 Dec 2008 20:06:12 GMT

Josh Micich <josh@gildedtree.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Josh Micich <josh@gildedtree.com>  2008-12-01 12:06:10 PST ---
Fixed in svn r722206 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=722206 ).

Next time can you try to simplify your example code that you upload.  This bug
can actually be shown with just 4 lines of code:

HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet();
HSSFRow row = sheet.createRow(30);
row = sheet.createRow(30);  // << throws IllegalArgumentException

Adding a cell to the row before the second call to createRow() makes the bug go
away.  So your code must have been creating rows multiple times before adding
cells.  In any case, POI supports this usage now.

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

View raw message