o.a.p.POIXMLException: java.io.IOException: Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data. This may indicate that the file is used to inflate memory usage and thus could pose a security risk. You can adjust this limit via ZipSecureFile.setMinInflateRatio() if you need to work with files which exceed this limit. Counter: 855880, cis.counter: 8537, ratio: 0.009974529139599009Limits: MIN_INFLATE_RATIO: 0.01

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via apache.org by Unknown author, 9 months ago
java.io.IOException: Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data. This may indicate that the file is used to inflate memory usage and thus could pose a security risk. You can
o.a.p.POIXMLException: java.io.IOException: Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data. This may indicate that the file is used to inflate memory usage and thus could pose a security risk. You can adjust this limit via ZipSecureFile.setMinInflateRatio() if you need to work with files which exceed this limit. Counter: 855880, cis.counter: 8537, ratio: 0.009974529139599009Limits: MIN_INFLATE_RATIO: 0.01
at o.a.p.xwpf.usermodel.XWPFPictureData.getChecksum(XWPFPictureData.java:157)
at o.a.p.xwpf.usermodel.XWPFDocument.registerPackagePictureData(XWPFDocument.java:1316)
at o.a.p.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:213)
at o.a.p.POIXMLDocument.load(POIXMLDocument.java:190)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.