Bug 39556 - Record type 93 is throwing Invocation target exception
Summary: Record type 93 is throwing Invocation target exception
Status: RESOLVED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.5-FINAL
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-11 11:23 UTC by Akash Singhal
Modified: 2006-08-27 04:17 UTC (History)
1 user (show)



Attachments
This file contains the drop down the error is coming using this file (23.50 KB, application/vnd.ms-excel)
2006-05-11 11:28 UTC, Akash Singhal
Details

Note You need to log in before you can comment on or make changes to this bug.
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.