DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41546>.
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=41546

           Summary: because of "Unable to construct record instance" can not
                    load a xls file
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P5
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


HI, dear POI dev team.

I'v got a VERY VERY SIMPLE AND EMPTY Excel file, ONLY ONE sheet and NOTHING in 
the sheet.(I do not known how the excel file was be created,It just come from 
my customer),
And when I use new HSSFWorkbook(fs) , it will threw a exception:
(but poi2.5 will WORK FINE with my poor excel files.)
----------------------------------------
org.apache.poi.hssf.record.RecordFactory.createRecord() RecordFactory.java:189
org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents() 
HSSFEventFactory.java:174
org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents() 
HSSFEventFactory.java:101

org.apache.poi.hssf.record.RecordFormatException: Unable to construct record 
instance 
----------------------------------------

And when I ues the newest poi-source-3.0-alpha3-20070205.zip try to finding the 
error point,I got the following infomation:

---------------------------------------
In method of Pta.createPtg(RecordInputStream in) 
   when switch (id), the id was -59 ,so it goto default :
   and 
   throw new java.lang.UnsupportedOperationException(" Unknown Ptg in Formula: 
0x"+Integer.toHexString(( int ) id) + " (" + ( int ) id + ")");

how can i upload my poor excel file?

your laoguo

-- 
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: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to