Hi Garima. So it seems to still have been the version problem which POI didn't have in 2.0, but in 2.5. So let's hope that 3.0 will be quite stable.
Regards, Karl-Heinz. -----Ursprüngliche Nachricht----- Von: Agarwal, Garima [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. August 2006 09:39 An: [email protected] Betreff: RE: Urgent help needed: How to read Excel having List type cell I solved the problem by using POI 3.0 alpha2 jar, if someone is interested in knowing. Have a good day, Garima. ________________________________ From: Agarwal, Garima Sent: Thursday, August 10, 2006 3:27 PM To: [email protected] Subject: 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.<init>(HSSFWorkbook.java:163) Here is the code sample: (Second time tool is not able to get past the underlined,colored line even) FileInputStream inputStream = new FileInputStream(mpiFileLocation); poiFileSystem = new POIFSFileSystem(inputStream); workBook = 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: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
