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 2017/04/11 06:32:51 UTC
[Bug 60967] New: Excel file is corrupted and the complete data is
deleted from file
https://bz.apache.org/bugzilla/show_bug.cgi?id=60967
Bug ID: 60967
Summary: Excel file is corrupted and the complete data is
deleted from file
Product: POI
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: dev@poi.apache.org
Reporter: saikiran551@gmail.com
Target Milestone: ---
Created attachment 34904
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34904&action=edit
Please find the attachment for reference
Scenarion: Combine the data from cell A and cell B into cell C
Issue: Excel file is corrupted and the complete data is deleted from file.
Description: Here i did the wrong way of implementation,
I have used "for loop" to copy the data from cell A& B to cell C
Here i have closed the Excel file inside the for loop, so after the insertion
of first row it is closing the workbook "ExcelWBook.close();"
Observation: By this wrong way of implementation the entire file is corrupted
and it the data is deleted from file.
* By the wrong way of implementation, it should throw the error and it should
contains the existing data.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 60967] Excel file is corrupted and the complete data is deleted
from file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60967
Javen O'Neal <on...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
OS| |All
Status|NEW |RESOLVED
--- Comment #1 from Javen O'Neal <on...@apache.org> ---
Workbooks are just like most other Closeable resources: you cannot operate on
them after closing them.
Closing this as a duplicate since we have another bug open for improving error
messages when operating on a workbook after wb.close() has been called.
*** This bug has been marked as a duplicate of bug 60102 ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 60967] Excel file is corrupted and the complete data is deleted
from file
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60967
Saikiran <sa...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |saikiran551@gmail.com
OS| |Windows 8
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org