https://issues.apache.org/bugzilla/show_bug.cgi?id=46312

           Summary: Specified rowIndex 30 is outside the allowable range
                    (0..30)
           Product: POI
           Version: 3.2-FINAL
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22964)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22964)
excel template I start on

Trying to create an outlined excel spreadsheet I got the following exception.
With the 3.1-FINAL everything work fine.

Consider that:
1) I start from an existing template (attached);
2) I need to report sum on top, then I used sheet.setRowSumsBelow(false) and
sheet.setAlternativeExpression(false), but, by comment those lines the problem
still occurs.

Caused by: java.lang.IllegalArgumentException: Specified rowIndex 30 is outside
the allowable range (0..30)
        at
org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate.removeAllCellsValuesForRow(ValueRecordsAggregate.java:111)
        at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.removeRow(RowRecordsAggregate.java:120)
        at org.apache.poi.hssf.model.Sheet.addRow(Sheet.java:677)
        at org.apache.poi.hssf.usermodel.HSSFSheet.addRow(HSSFSheet.java:303)
        at
org.apache.poi.hssf.usermodel.HSSFSheet.createRow(HSSFSheet.java:206)
        at
it.mef.scai.shared.poiutils.ExcelUtil.inserisciValore(ExcelUtil.java:393)
        at
it.mef.scai.paf.service.printexport.impl.GestioneFabbisogniExcelRenderServiceImpl.renderElement(GestioneFabbisogniExcelRenderServiceImpl.java:116)
        at
it.mef.scai.paf.service.printexport.impl.GestioneFabbisogniExcelRenderServiceImpl.renderElement(GestioneFabbisogniExcelRenderServiceImpl.java:133)
        at
it.mef.scai.paf.service.printexport.impl.GestioneFabbisogniExcelRenderServiceImpl.renderElement(GestioneFabbisogniExcelRenderServiceImpl.java:133)
        at
it.mef.scai.paf.service.printexport.impl.GestioneFabbisogniExcelRenderServiceImpl.renderElement(GestioneFabbisogniExcelRenderServiceImpl.java:133)
        at
it.mef.scai.paf.service.printexport.impl.GestioneFabbisogniExcelRenderServiceImpl.renderElement(GestioneFabbisogniExcelRenderServiceImpl.java:133)
        at
it.mef.scai.paf.service.printexport.impl.ExcelTreeViewRenderServiceImpl.renderExcelTreeView(ExcelTreeViewRenderServiceImpl.java:58)
        ... 78 more


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to