Bug 31861

Summary: excel application crashes when i try to save the file.
Product: POI Reporter: as <ash_sha_21>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED INVALID    
Severity: critical    
Priority: P3    
Version: 2.5-FINAL   
Target Milestone: ---   
Hardware: Other   
OS: Windows XP   

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