Bug 55901 - PropertySetFactory imports java.rmi.UnexpectedException
Summary: PropertySetFactory imports java.rmi.UnexpectedException
Alias: None
Product: POI
Classification: Unclassified
Component: HPSF (show other bugs)
Version: 3.10-dev
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
: 55900 (view as bug list)
Depends on:
Reported: 2013-12-18 04:06 UTC by Nick Burch
Modified: 2013-12-18 05:49 UTC (History)
1 user (show)


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