Bug 56307 - Ordering in autofilter crash the excel
Summary: Ordering in autofilter crash the excel
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 04:26 UTC by Ivan Skultety
Modified: 2016-04-07 20:56 UTC (History)
0 users



Attachments
Source code file (2.67 KB, text/plain)
2014-03-24 04:26 UTC, Ivan Skultety
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Skultety 2014-03-24 04:26:07 UTC
Created attachment 31431 [details]
Source code file

I created simple excel with JXL and then open it with POI to add new sheet with autofilter feature (see attached source code).
When I try to open the result XLS file and use the "Ordering A to Z" in autofilter then Excel crash with this error in Event viewer>

Faulting application name: EXCEL.EXE, version: 14.0.4756.1000, time stamp: 0x4b9c08e8
Faulting module name: MSVCR90.dll, version: 9.0.30729.8387, time stamp: 0x51ea24a5
Exception code: 0xc0000417
Fault offset: 0x000320f0
Faulting process ID: 0x15f8
Faulting application start time: 0x01cf47181abd6b68
Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE
Faulting module path: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll
Report ID: 5f127dfc-b30b-11e3-bf6f-84a6c88d5535
Faulting package full name: 
Faulting package-relative application ID:
Comment 1 Nick Burch 2014-03-24 11:17:47 UTC
If you've accidently created a file that crashes Excel, then you need to report that to Microsoft to get them to fix Excel! If we do something wrong, Excel should give an error prompt or a warning, not a crash...
Comment 2 Dominik Stadler 2016-04-07 20:56:21 UTC
I don't think we can do much here for now, Excel should not crash on any file, but rather indicate what is incorrectly formatted.