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

           Summary: java.lang.IndexOutOfBoundsException on
                    row.getRowStyle()
           Product: POI
           Version: 3.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


This code rises exception (see attached file):
new HSSFWorkbook(new
FileInputStream("2.xls")).getSheetAt(0).getRow(0).getRowStyle();

Exception rises in cases when row has double line border:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 12345,
Size: 71
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at
org.apache.poi.hssf.model.WorkbookRecordList.get(WorkbookRecordList.java:50)
    at org.apache.poi.hssf.model.Workbook.getExFormatAt(Workbook.java:787)
    at org.apache.poi.hssf.usermodel.HSSFRow.getRowStyle(HSSFRow.java:575)

-- 
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