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 2018/09/18 11:42:56 UTC

[Bug 62732] New: xlsx output by POI 4.0.0 cannot open because file format or extension is not valid.

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

            Bug ID: 62732
           Summary: xlsx output by POI 4.0.0 cannot open because file
                    format or extension is not valid.
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: peng.li@gmx.de
  Target Milestone: ---

With previous version 3.17 there is no problem with created .xlsx output. After
upgrade to 4.0.0 the output .xlsx is corrupted and can not be opened anymore
with the message "...file format or file extension is not valid...". Used java
version is same: jdk1.8.0_172. 
My program uses a predefined xlsx as template, at run time this template will
be populated with data from database.

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

Peng <pe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|xlsx output by POI 4.0.0    |xlsx output by POI 4.0.0
                   |cannot open because file    |cannot be opened because
                   |format or extension is not  |file format or extension is
                   |valid.                      |not valid.
                 OS|                            |All

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

Peng <pe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Windows 7

-- 
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 62732] xlsx output by POI 4.0.0 cannot open because file format or extension is not valid.

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

Peng <pe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |4.0.0-FINAL
                 OS|                            |All

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Hi Peng - could you upload a corrupted xlsx file so that we can check its
format?

-- 
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 62732] xlsx output by POI 4.0.0 cannot open because file format or extension is not valid.

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

Peng <pe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Windows 7

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

--- Comment #2 from Peng <pe...@gmx.de> ---
Created attachment 36153
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36153&action=edit
corrupted output xlsx by using 4.0.0

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

--- Comment #5 from PJ Fanning <fa...@yahoo.com> ---
Jaxb build dependency is for Java 10 build.
It is unlikely to be causing your issue.
I no longer have M$ tools installed, so I'm not really in a position to debug
what's up with your file. I can confirm that it doesn't load in LibreOffice,
MacOS Numbers or Google Spreadsheets. I can't see anything obvious in the xlsx
zip contents.

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

--- Comment #4 from Peng <pe...@gmx.de> ---
Comparing to version 3.17, jaxb-xxx.2.3.0 are now included in 4.0.0. Does this
change may have to do with the mentioned issue?

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

--- Comment #3 from Peng <pe...@gmx.de> ---
(In reply to PJ Fanning from comment #1)
> Hi Peng - could you upload a corrupted xlsx file so that we can check its
> format?

Hi Fanning, the file is available for download under the given link from
dropbox.
Thank you for your support.

-- 
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 62732] xlsx output by POI 4.0.0 cannot be opened because file format or extension is not valid.

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

Peng <pe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |Windows 7

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