Bug 31861 - excel application crashes when i try to save the file.
Summary: excel application crashes when i try to save the file.
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.5-FINAL
Hardware: Other Windows XP
: P3 critical (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 05:10 UTC by as
Modified: 2005-08-21 21:42 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description as 2004-10-23 05:10:59 UTC
used this code.

FileOutputStream fos = new FileOutputStream(new File
("c://test//uw_output.xls"));
		POIFSFileSystem pfs =  new POIFSFileSystem(new FileInputStream
(new File("c://test//UW_Latest.xls")));
//		workbook.write(fos);
		pfs.writeFilesystem(fos);

This works well but when i try to save uw_output.xls , excel application 
crahses.
Comment 1 as 2004-10-23 07:24:57 UTC
In addition to this ..

When i use the code

		HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream
(new File("c://test//UW_Latest_Without_Macros.xls")),true);
		FileOutputStream fos = new FileOutputStream(new File
("c://test//uw_output.xls"));
//		POIFSFileSystem pfs =  new POIFSFileSystem(new FileInputStream
(new File("c://test//UW_Latest.xls")));
		workbook.write(fos);

uw_output.xls file is corrupt.


I have logged one similar defect but that got lost between my discusstion with 
Jason.

I am attaching UW_Latest_Without_Macros.xls and uw_output.xls.
Comment 2 as 2004-10-23 19:34:23 UTC
i have been trying to attach the files since yesterday but it is not working 
the page just hangs.I can email these files to the developer who will be 
looking into this bug..
Comment 3 Jason Height 2005-08-22 05:42:55 UTC
Sorry no attachements. No fix.

Jason