Apache OpenOffice (AOO) Bugzilla – Issue 841
Java: XPropertySetInfo.getProperties always throws an InterruptedException for
Last modified: 2003-12-06 14:52:32 UTC
The java binding for XPropertySetInfo.getProperties() always throws an InterruptedException for text documents.
Sample code: Object oDesktop = xMultiServiceFactory.createInstance ("com.sun.star.frame.Desktop"); XDesktop xDesktop = (XDesktop)UnoRuntime.queryInterface(XDesktop.class, oDesktop); XComponentLoader xComponentLoader = (XComponentLoader) UnoRuntime.queryInterface (XComponentLoader.class, oDesktop); oUnoObject = xComponentLoader.loadComponentFromURL ("private:factory/swriter", "_blank", 0, new PropertyValue[0]); XPropertySet xPropertySet = (XPropertySet) UnoRuntime.queryInterface (XPropertySet.class, oUnoObject); XPropertySetInfo xPropertySetInfo = xPropertySet.getPropertySetInfo(); Property[] mProperties = xPropertySetInfo.getProperties(); will throw interruptedException
doubled to #499, fixed
It is the same bug as 499 and this bug is fixed.