Bug 22742 - Failed to create HSSFWorkbook!
Summary: Failed to create HSSFWorkbook!
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 1.5.1
Hardware: PC All
: P3 critical (vote)
Target Milestone: ---
Assignee: POI Developers List
: 15556 (view as bug list)
Depends on:
Reported: 2003-08-27 03:48 UTC by matthew_shi
Modified: 2005-03-20 17:06 UTC (History)
1 user (show)

this is a test excel (51.00 KB, application/xls)
2003-09-01 01:42 UTC, matthew_shi

Note You need to log in before you can comment on or make changes to this bug.
Description matthew_shi 2003-08-27 03:48:14 UTC
POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream("D:/person.xls"));
        System.err.println("in POIFSFileSystem fs");
        HSSFWorkbook wb = new HSSFWorkbook(fs);
        System.err.println("in  HSSFWorkbook wb");

        HSSFSheet sheet = wb.getSheetAt(0);
        System.err.println("in  HSSFSheet sheet");
        HSSFCell cell = null;
        HSSFRow row =null;
        int numRow=87;
fail at HSSFWorkbook wb = new HSSFWorkbook(fs);
message is

	at org.apache.poi.hssf.record.SSTDeserializer.readStringRemainder

	at org.apache.poi.hssf.record.SSTDeserializer.processContinueRecord

	at org.apache.poi.hssf.record.SSTRecord.processContinueRecord

	at org.apache.poi.hssf.record.RecordFactory.createRecords

	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>

	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>

	at test.testExcel.main(testExcel.java:28)
Comment 1 Avik Sengupta 2003-08-30 10:49:56 UTC
you will need to attach the workbook to this but for us to investigate this
Comment 2 matthew_shi 2003-09-01 01:42:45 UTC
Created attachment 8016 [details]
this is a test excel
Comment 3 Avik Sengupta 2003-09-23 15:55:06 UTC
This is the same as bug 15556. Double byte characters in the sheet, exception in
SSTDeserialize. Its a biggie!  No fix in sight! Not marking a dupe in bugzilla,
since both contain seperate sheets, and we should test against both. 
Comment 4 Jason Height 2003-10-14 05:59:56 UTC
*** Bug 15556 has been marked as a duplicate of this bug. ***
Comment 5 Jason Height 2003-10-14 08:02:32 UTC
This has been fixed in CVS. Both the head and the release 2 branch have been 

You can check if you like against your own spreadsheets with the new code, but 
the attachments now work for me.