You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/10/17 03:42:33 UTC

DO NOT REPLY [Bug 31749] - [This is critical] workbook.write() corrupts the file......?

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=31749>.
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=31749

[This is critical] workbook.write() corrupts the file......?

ash_sha_21@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Critical
           Priority|Other                       |Medium
            Summary|Unable to open the written  |[This is critical]
                   |excel sheet.                |workbook.write() corrupts
                   |                            |the file......?



------- Additional Comments From ash_sha_21@yahoo.com  2004-10-17 01:42 -------
********uw_output.xls file did not get corrputed when i used 
POIFSFileSystem.write() method and i could open this(uw_output.xls) file 
successfully.

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

I am not sure why workbook.write() corrupts the file.

But i am running into some other issue now.
When i make the change in this xls file andclick save in the file menu , it 
give me excel error saying 'document not saved'??
any clues..

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org