Bug 63668 - Crash at Workbook.removeSheetAt()
Summary: Crash at Workbook.removeSheetAt()
Status: NEEDINFO
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-15 15:09 UTC by Leblay Dávid
Modified: 2019-11-17 12:01 UTC (History)
0 users



Attachments
The template file to be filled (26.30 KB, application/zip)
2019-08-15 15:09 UTC, Leblay Dávid
Details

Note You need to log in before you can comment on or make changes to this bug.
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.