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=30008>.
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=30008





------- Additional Comments From [EMAIL PROTECTED]  2005-05-05 01:55 -------
The Excel template when read using HSSF throws the arrayIndexException. Just 
for kicks when I altered the code in UnknownRecord (Line 62):
from System.arraycopy(data, offset, thedata, 0, size); to

try {
            System.arraycopy(data, offset, thedata, 0, size);
        } catch (Exception e) {
            // Hack to clear the bug
            thedata = new byte[data.length - offset];
            System.arraycopy(data, offset, thedata, 0, data.length - offset);
        }

things went ahead fine. But I guess this may not be the correct solution even 
though it worked for me. I can provide a test template if it is of any help 
([EMAIL PROTECTED]).

-- 
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]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to