Download or schedule excel report in AIQUM throws an ZipSecureFile setMinInflateRatio exception
Applies to
Active IQ Unified Manager (AIQUM) 9.12
Issue
Error seen in "ocumserver.log"
2023-07-10 14:01:43,214 ERROR [username] [default task-2162] [c.n.i.u.s.r.i.InventoryViewController] Exception while converting health-aggregates to Excel.
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.
Uncompressed size: 102430, Raw/compressed size: 1024, ratio: 0.009997
2023-07-10 14:01:43,215 ERROR [username] [default task-2162] [c.n.o.r.m.e.GlobalExceptionHandler] Error while converting AFF Aggregate Space to Excel, java.lang.Exception: Error while converting AFF Aggregate Space to Excel
2023-07-10 14:01:43,216 ERROR [username] [default task-2162] [c.n.o.r.m.e.GlobalExceptionHandler] Exception: Error while processing the request : 'Error while converting AFF Aggregate Space to Excel'. Request cannot be processed due to internal error. java.lang.Exception: Error while converting AFF Aggregate Space to Excel