DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44167

           Summary: ArrayIndexOutOfBoundsException when using Named Ranges
           Product: POI
           Version: 3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Reading a named range consisting of one column (with for example rows from index
10 to 18) works fine if every row of this column is part of the named range. But
if one or more rows of the column are not part of the named range (for example
row index 15) then the following ArrayIndexOutOfBoundsException occurs:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at
org.apache.poi.hssf.util.CellReference.separateRefParts(CellReference.java:116)
        at org.apache.poi.hssf.util.CellReference.<init>(CellReference.java:36)
        at org.apache.poi.hssf.util.AreaReference.<init>(AreaReference.java:34)
        at poitest.main(poitest.java:23)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to