Created attachment 36544 [details] Method that produces Rule M2.4 exception So I'm trying to generate a new file with the content already filtered from an existing SXSSF workbook (deleting rows that don't match with the JSON query), but when I call the method used to write the content from filtered SXSSF workbook to the new .xlsx file generated (via getReportFile() method) it throws Rule M2.4 exception at workbook.write(fos);
Please try to provide a more self-sufficient code-example which reproduces the problem, your snippet here is not showing enough to allow to actually reproduce any problem. Ideally as a unit-test so we can add the test to our set of tests and ensure the problem stays fixed.
We cannot reproduce/fix this without more information.