Issue 841 - Java: XPropertySetInfo.getProperties always throws an InterruptedException for
Summary: Java: XPropertySetInfo.getProperties always throws an InterruptedException for
Status: CLOSED FIXED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 625
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@www
URL:
Keywords:
Depends on: 499
Blocks:
  Show dependency tree
 
Reported: 2001-05-02 19:52 UTC by schulten
Modified: 2003-12-06 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description schulten 2001-05-02 19:52:37 UTC
The java binding for XPropertySetInfo.getProperties() always throws an 
InterruptedException for text documents.
Comment 1 schulten 2001-05-02 20:00:33 UTC
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
Comment 2 issues@www 2001-05-03 09:18:36 UTC
doubled to #499, fixed
Comment 3 Unknown 2001-08-14 08:25:21 UTC
It is the same bug as 499 and this bug is fixed.