Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 84653 invoked from network); 10 Aug 2006 10:02:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 10:02:04 -0000 Received: (qmail 23200 invoked by uid 500); 10 Aug 2006 10:02:01 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 23092 invoked by uid 500); 10 Aug 2006 10:02:01 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 23081 invoked by uid 99); 10 Aug 2006 10:02:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 03:02:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.138.38.84] (HELO slox.sawag.com) (62.138.38.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 03:02:00 -0700 Received: from apollo (localhost [127.0.0.1]) by apollo (Postfix) with SMTP id 3E05710B4DB for ; Thu, 10 Aug 2006 11:57:49 +0200 (CEST) Received: by slox.sawag.com (Postfix, from userid 65534) id 090A510B4BA; Thu, 10 Aug 2006 11:57:45 +0200 (CEST) Received: from karlheinzmobil (thor.sawag.com [62.138.17.46]) by slox.sawag.com (Postfix) with ESMTP id 4568310B46F for ; Thu, 10 Aug 2006 11:57:42 +0200 (CEST) Reply-To: From: "KHZ (SAW)" To: "'POI Users List'" Subject: AW: Urgent help needed: How to read Excel having List type cell Date: Thu, 10 Aug 2006 12:01:21 +0200 Organization: SAW Message-ID: <004f01c6bc63$ee6330e0$a500000a@karlheinzmobil> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: Aca8Y0N4PNPg/3q1R7uwWnsZCodqXQAAFPZA In-Reply-To: <9F67522FAAB9EA4A8D7068C8D202643EFC2EE1@INKARBLR-EX01.Asia.DelphiAuto.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Garima. Which POI version do you use? "Long" ago there were such problems using 2.5 which were not in 2.0. But = I think already with 2.5.1 such problems were removed. If you're using a quite new version that something different should be = the reason. Regards, Karl-Heinz. -----Urspr=FCngliche Nachricht----- Von: Agarwal, Garima [mailto:Garima.Agarwal@delphi.com]=20 Gesendet: Donnerstag, 10. August 2006 11:57 An: poi-user@jakarta.apache.org Betreff: Urgent help needed: How to read Excel having List type cell Got a project code release, could someone give pointers as to what all I can try to correct the error? My code is reading an excel file contains one of the cell as Data -> validation -> settings -> List type, able to read first time but if I change the list cell value using the drop down and save and try reading again I get the following error: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor134.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons tructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java :224) at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.jav a:160) at org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:163) Here is the code sample: (Second time tool is not able to get past the underlined,colored line even) FileInputStream inputStream =3D new FileInputStream(mpiFileLocation); poiFileSystem =3D new POIFSFileSystem(inputStream); workBook =3D new HSSFWorkbook(poiFileSystem,false); Please help, Thanks in advance, Garima. *************************************************************************= *** ************ Note: If the reader of this message is not the intended recipient, or = an employee or agent responsible for delivering this message to the = intended recipient, you are hereby notified that any dissemination, distribution = or copying of this communication is strictly prohibited. If you have = received this communication in error, please notify us immediately by replying to = the message and deleting it from your computer. Thank you. *************************************************************************= *** ************ --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/