Bug 63375 - Error writing SXSSF workbook to a new .xlsx file
Summary: Error writing SXSSF workbook to a new .xlsx file
Alias: None
Product: POI
Classification: Unclassified
Component: SXSSF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2019-04-23 07:10 UTC by aespinosag.gfi
Modified: 2019-06-20 08:40 UTC (History)
0 users

Method that produces Rule M2.4 exception (542 bytes, text/plain)
2019-04-23 07:10 UTC, aespinosag.gfi

Note You need to log in before you can comment on or make changes to this bug.
Description aespinosag.gfi 2019-04-23 07:10:23 UTC
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);
Comment 1 Dominik Stadler 2019-04-23 20:32:03 UTC
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.
Comment 2 Dominik Stadler 2019-06-20 08:40:43 UTC
We cannot reproduce/fix this without more information.