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 2013/05/31 10:58:22 UTC

[Bug 55033] New: new XSSFWorkbook(pkg) corrupts Excel file

https://issues.apache.org/bugzilla/show_bug.cgi?id=55033

            Bug ID: 55033
           Summary: new XSSFWorkbook(pkg) corrupts Excel file
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: est412@gmail.com

Created attachment 30347
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30347&action=edit
Corrupted file

Hello!
This simple piece of code corrupts normal *.xlsx file.

------
pkg = OPCPackage.open(args[0]);
wb = new XSSFWorkbook(pkg);
pkg.close();
------

Without statement 
wb = new XSSFWorkbook(pkg);
*.xlsx file remains good.

Corrupted *.xlsx attached.
Thanx in advance!

-- 
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 55033] new XSSFWorkbook(pkg) corrupts Excel file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55033

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Are you able to work out how the files differ? (You'll probably need to unzip
both, then do a whitespace ignoring diff / xmllint -format then diff to work
out the changes)

-- 
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 55033] new XSSFWorkbook(pkg) corrupts Excel file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55033

--- Comment #3 from est412 <es...@gmail.com> ---
Unfortunately I not feel qualified enough to diff this files.
Attaching all of it instead.

-- 
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 55033] new XSSFWorkbook(pkg) corrupts Excel file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55033

est412 <es...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
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 55033] new XSSFWorkbook(pkg) corrupts Excel file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55033

--- Comment #2 from est412 <es...@gmail.com> ---
Created attachment 30348
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30348&action=edit
Initial and rezulting test files

-- 
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