アーティクル - CS430703
Codebeamer で Microsoft Excel ファイルをインポートするときに「org.apache.poi.ooxml.POIXMLException: Zip bomb が検出されました!」というエラーが発生する
修正日: 07-Nov-2024
適用対象
- Codebeamer 22.10 to 2.2
- Microsoft Excel
説明
- Microsoft Excelファイルをインポートするときに次のエラーが発生しました
Failed to load the data through Excel Import Application. Please check the logs
- ファイルのインポート中にorg.apache.poi.ooxml.POIXMLExceptionが発生しました
- cb.txt内
INFO utils.command.OutputStreamCommandExecutor - error :<Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:95) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) Caused by: java.lang.RuntimeException: org.apache.poi.ooxml.POIXMLException: 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: 1230385, Raw/compressed size: 12288, ratio: 0.009987 Limits: MIN_INFLATE_RATIO: 0.010000, Entry: xl/styles.xml
最新バージョンはこちらを参照ください CS430703