-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "FATAL XMLHelper : -1: -1: Premature end of file" when parsing a file. #302
Comments
merkuzio88
changed the title
Error "FATAL XMLHelper 👎-1:Premature end of file" when parsing a file.
Error "FATAL XMLHelper : -1: -1: Premature end of file" when parsing a file.
Jan 18, 2024
Thank you for contributing to Poiji! Feel free to create a PR If you want to contribute directly :) |
Hi @merkuzio88 , which version of poiji are you using? |
Hi @ozlerhakan , we using version 4.1.1 |
Have you tried loading the same excel with only Apache Poi? It might be related to Poi. |
I'm closing this because there is no response for 2 weeks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I encountered this error while parsing a file. In this case, the file can be opened without any problems in office programs. Also, if I stop the code at the moment when the file has been downloaded, before parsing, make any changes to the file and save the changes, then parsing occurs without errors.
Stacktrace:
`FATAL XMLHelper : -1: -1: Premature end of file.
org.xml.sax.SAXParseException; Premature end of file.
com.poiji.exception.PoijiException: Problem occurred while reading data
Caused by: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Failed to parse relationships
Caused by: org.xml.sax.SAXParseException; Premature end of file.
Code snippet:
Example of the file causing the error:
report1188893657620394931.xlsx
The text was updated successfully, but these errors were encountered: