Bug 13816 - Corrupted, but readable excel file generated on Mainframe
Summary: Corrupted, but readable excel file generated on Mainframe
Alias: None
Product: POI
Classification: Unclassified
Component: POIFS (show other bugs)
Version: 2.0-dev
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2002-10-21 13:45 UTC by Isabelle Luyckx
Modified: 2005-02-21 14:31 UTC (History)
0 users

file error.some number formats may been lost (140.00 KB, text/plain)
2005-02-21 23:31 UTC, eddie ardila

Note You need to log in before you can comment on or make changes to this bug.
Description Isabelle Luyckx 2002-10-21 13:45:31 UTC

I try to create a new file from an existing Excel file. My program works well 
on WAS3.5 on NT.
But when I deploy my program on WAS3.5 on Mainframe, when opening generated 
file, Excel displays "File error. Some number formats may have been lost." and 
all string from the template file were unreadable.
I used POI-1.8.0-dev.

source of the program :

FileInputStream fis = new FileInputStream(FmkPropertiesManager.getRootDir()
	+ "model.xls");
POIFSFileSystem fs = new POIFSFileSystem(sourceModel);
HSSFWorkbook wb = new HSSFWorkbook(fs);

FileOutputStream fileOut = new FileOutputStream
Comment 1 Andy Oliver 2003-07-24 13:40:59 UTC
We need the code used to generate it (simplest runnable code which replicates
the problem), the generated sheet, etc.  I don't remember when the default
character set fixes were put in but htis seems releated.  Once you provide those
things please reopen.  (click "create a new attachment)
Comment 2 eddie ardila 2005-02-21 23:31:55 UTC
Created attachment 14338 [details]
file error.some number formats may been lost

today open 2 excel files and have the same result.