|Summary:||Record type 93 is throwing Invocation target exception|
|Product:||POI||Reporter:||Akash Singhal <singhal.akash>|
|Component:||HSSF||Assignee:||POI Developers List <dev>|
|Attachments:||This file contains the drop down the error is coming using this file|
Description Akash Singhal 2006-05-11 11:23:28 UTC
If a particular excel file contains drop down boxes then the record type of that record is 93 if i'm not wrong it is throwing an invocation target exception when trying to access the same. I have tried to create new HSSFWorkbook(POIFilesystem object) object which is throwing this exception. I've tried to debug through the code for RecordFactory class in that a method called createRecord initializes the Object in which recType variable is used There if you check recType variable != 93 then i'm able to use the same excel file for solving my purpose. Actually i want to index the excel file in order to do that i want the contents of the File. Kindly look into the issue.
Comment 1 Akash Singhal 2006-05-11 11:28:52 UTC
Created attachment 18255 [details] This file contains the drop down the error is coming using this file
Comment 2 Jason Height 2006-08-27 11:17:01 UTC
Latest SVN code reads and writes the attached file correctly.