To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69084
                 Issue #|69084
                 Summary|Java - XStorable with ODB document - OO.o hangs
               Component|api
                 Version|OOo 2.0.3
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|ooandreas





------- Additional comments from [EMAIL PROTECTED] Wed Aug 30 00:50:25 -0700 
2006 -------
I loaded an odb document with the XComponentLoader. Using the XStorable
interface of the document causes an OpenOffice.org crash (My java code does not
return from the method storable.store()). This is my code:

Object object =
application.getServiceProvider().createServiceWithContext("com.sun.star.frame.Desktop");
      XComponentLoader xComponentLoader =
(XComponentLoader)UnoRuntime.queryInterface(XComponentLoader.class, object);
      XComponent xComponent =
xComponentLoader.loadComponentFromURL("file:///c:/MyDB2.odb", "_blank",
FrameSearchFlag.ALL, new PropertyValue[0]);
      XStorable storable = (XStorable)UnoRuntime.queryInterface(XStorable.class,
xComponent);
      storable.store();

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to