Return-Path: Delivered-To: apmail-jakarta-poi-dev-archive@www.apache.org Received: (qmail 60286 invoked from network); 4 May 2005 23:55:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2005 23:55:13 -0000 Received: (qmail 34271 invoked by uid 500); 4 May 2005 23:57:22 -0000 Delivered-To: apmail-jakarta-poi-dev-archive@jakarta.apache.org Received: (qmail 34245 invoked by uid 500); 4 May 2005 23:57:22 -0000 Mailing-List: contact poi-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "POI Developers List" Reply-To: "POI Developers List" Delivered-To: mailing list poi-dev@jakarta.apache.org Received: (qmail 34224 invoked by uid 99); 4 May 2005 23:57:21 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 04 May 2005 16:57:21 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id CD65229C; Thu, 5 May 2005 01:55:08 +0200 (CEST) From: bugzilla@apache.org To: poi-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 30008] - ArrayIndexOutOfBounds exception in UnknownRecord.java and Nullpointer Exception in HSSFSheet.java X-Bugzilla-Reason: AssignedTo Message-Id: <20050504235508.CD65229C@ajax.apache.org> Date: Thu, 5 May 2005 01:55:08 +0200 (CEST) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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 amit_vijayant@yahoo.com 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 (amit_vijayant@yahoo.com). -- 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: poi-dev-unsubscribe@jakarta.apache.org Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/