Bug 63668

Summary: Crash at Workbook.removeSheetAt()
Product: POI Reporter: Leblay Dávid <leblaydavid7>
Component: XSSFAssignee: POI Developers List <dev>
Status: NEEDINFO ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: The template file to be filled

Description Leblay Dávid 2019-08-15 15:09:40 UTC
Created attachment 36722 [details]
The template file to be filled

We are actually using the 3.15 version, so ignore me if it's fixed already, but:

I consistently get this error when trying to remove a certain sheet from the workbook:
workbook.removeSheetAt(workbook.getSheetIndex(ExcelExportSheet.STYLES.getName()));

But, I only got this after I set up method calls for every single one of the other sheets. Since then - though - even if I remove them the problem pesists.
Comment 1 Dominik Stadler 2019-11-17 12:01:18 UTC
Please include the stacktrace/error message that you get, a "crash" is a bit unspecific. Also please provide a minimal reproducing test-case or similar code to reproduce the problem.