I have run into a problem after upgrading from POI 3.14 to POI 3.16. With POI 3.14, I can load a workbook, save it, and then open in Excel 2016 without a problem. However, after upgrading to POI 3.16, the workbook needs to be repaired after opening in Excel. The repaired version of the workbook loses some formatting and all named ranges are gone.
I have created a test project which loads a workbook and then saves it. The workbook output.xlsx is corrupted after running the test. Any help that can be offered would be greatly appreciated! https://github.com/quintonm/poi-test