| Summary: | Word document generated by poi can't be opened | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | 郭生 <836088466> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | aron.budea, kelemeng, nemeth |
| Priority: | medium | ||
| Version: | 7.4.0.3 release | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 104448, 140202 | ||
| Attachments: | like this | ||
|
Description
郭生
2022-09-14 04:04:38 UTC
Google translate: Description: The word document generated by poi can't be opened, some data formats may cause the document structure error, other tools can open the document Steps to Reproduce: 1. The word document generated by poi has table data in the document 2. Unable to open the prompt 3. An error occurred while opening the file. Probably due to incorrect file content. Error details: SAXException: [word/document.xml line 2]: unknown error Continuing to import may result in data loss or corruption, and programs may become unstable or crash. Do you want to ignore the error and continue loading the file? In [mscx_uno bridge error] UNO type of C++ exception unknown: "o3tl.divide_by_zero", RTTI-name=".?AUdivide_by_zero@o3tl@@"! SAXParseException: File format error found at '[word/document.xml line 2]: unknown error', Stream 'word/document.xml', Line 2, Column 28860(row,col). Actual Results: In [mscx_uno bridge error] UNO type of C++ exception unknown: "o3tl.divide_by_zero", RTTI-name=".?AUdivide_by_zero@o3tl@@"! SAXParseException: File format error found at '[word/document.xml line 2]: unknown error', Stream 'word/document.xml', Line 2, Column 28860(row,col). Expected Results: In [mscx_uno bridge error] UNO type of C++ exception unknown: "o3tl.divide_by_zero", RTTI-name=".?AUdivide_by_zero@o3tl@@"! SAXParseException: File format error found at '[word/document.xml line 2]: unknown error', Stream 'word/document.xml', Line 2, Column 28860(row,col). @郭生, Please attach a sample file that demonstrates the error. Created attachment 182483 [details]
like this
Confirmed in 7.4.0.2. I can no longer reproduce the error in 7.4 after: https://git.libreoffice.org/core/+/02de07ffd65d40d26bfc15783ec25030117d5761 author László Németh <nemeth@numbertext.org> Thu Jan 05 10:21:10 2023 +0100 committer Xisco Fauli <xiscofauli@libreoffice.org> Tue Jan 10 11:54:19 2023 +0000 tree a56fbc84205a93a9a1c6b66aa1aca3ac7439b21f parent 8b69b189726365411772d098e504acd90d1606e9 [diff] tdf#131203 DOCX import: fix lost table when w:tblGrid is missing *** This bug has been marked as a duplicate of bug 131203 *** |