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: 356352, cis.counter: 3534, ratio: 0.009917160560344827Limits: MIN_INFLATE_RATIO: 0.01

apache.org | 2 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    POI regression testing report

    apache.org | 2 weeks ago
    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

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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: 356352, cis.counter: 3534, ratio: 0.009917160560344827Limits: MIN_INFLATE_RATIO: 0.01

      at o.a.p.xwpf.usermodel.XWPFPictureData.getChecksum()
    2. o.a.p
      POIXMLDocument.load
      1. o.a.p.xwpf.usermodel.XWPFPictureData.getChecksum(XWPFPictureData.java:157)
      2. o.a.p.xwpf.usermodel.XWPFDocument.registerPackagePictureData(XWPFDocument.java:1316)
      3. o.a.p.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:213)
      4. o.a.p.POIXMLDocument.load(POIXMLDocument.java:190)
      4 frames