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 2015/09/11 09:43:43 UTC

[Bug 58363] New: XSSF writes corrupted XLSX files, cannot be repaired

https://bz.apache.org/bugzilla/show_bug.cgi?id=58363

            Bug ID: 58363
           Summary: XSSF writes corrupted XLSX files, cannot be repaired
           Product: POI
           Version: 3.12-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: bogusandre@gmail.com

Created attachment 33095
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33095&action=edit
diff between known good xlsx and corrupt output

Writing an XLSX file using the normal XSSFWorkbook interface spits out a file
that is a valid zip file containing valid XML entries. However, both Excel and
LibreOffice (5.0) refuse to open or even recover the resulting file.

It used to work with 3.10 and 3.11-beta2 – in fact I have a correct XLSX with
the same contents that opens just fine. The diff is attached (I removed lines
where only the order of XML attributes was reversed).

-- 
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 58363] XSSF writes corrupted XLSX files, cannot be repaired

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

--- Comment #3 from Dominik Stadler <do...@gmx.at> ---
Also can you try with 3.13-beta1 or a recent nightly build from
https://builds.apache.org/view/POI/job/POI/lastSuccessfulBuild/artifact/build/dist/

-- 
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 58363] XSSF writes corrupted XLSX files, cannot be repaired

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

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Dominik Stadler <do...@gmx.at> ---
No response and no code sample or sample documents so there is currently not
enough information to work on this. Please reopen with more info if this is
still an issue for you.

-- 
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 58363] XSSF writes corrupted XLSX files, cannot be repaired

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

--- Comment #2 from Andre Bogus <bo...@gmail.com> ---
This is Excel 2007. Unfortunately I cannot attach the documents because of
legal restrictions. I'll see if I can create a minimum test case to show the
problem.

-- 
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 58363] XSSF writes corrupted XLSX files, cannot be repaired

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

Dominik Stadler <do...@gmx.at> changed:

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

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Which version of Excel is this? 

And can you attach the two documents as well so we can try on other versions of
Excel to see if that is a factor here as well.

-- 
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 58363] XSSF writes corrupted XLSX files, cannot be repaired

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

--- Comment #4 from Andre Bogus <bo...@gmail.com> ---
Yeah, I should have included that info; I already tested with 3.13beta1. I'll
re-check with a nightly and report back, though.

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