Bug 55901

Summary: PropertySetFactory imports java.rmi.UnexpectedException
Product: POI Reporter: Nick Burch <apache>
Component: HPSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: sun7simon
Priority: P2    
Version: 3.10-dev   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Nick Burch 2013-12-18 04:06:00 UTC
As reported on StackOverflow in http://stackoverflow.com/questions/20623950/open-an-xls-file-with-hssfworkbook-crash-my-app-in-run-time : PropertySetFactory has an import to java.rmi.UnexpectedException, which is used to throw on a broken setup. This is an odd exception to use, as we don't use RMI, and it can cause issues on Android. It should be swapped for something more standard.
Comment 1 Nick Burch 2013-12-18 04:08:28 UTC
Fixed in r1551832, now uses java.lang.IllegalStateException instead.
Comment 2 Nick Burch 2013-12-18 05:49:18 UTC
*** Bug 55900 has been marked as a duplicate of this bug. ***