The below code works fine with apache poi version 4.0.1 but after upgrading apache poi to the latest versions (version 4.1.2 or version 5.0.0) the xls file generated is corrupted and when i try to open it i cannot find any data inside. (the size of the xls file after upgrading the poi.jar was updated from 4KO to 0KO.) Could