List Info

Thread: Java - XStorable with ODB document - OO.o hangs




Java - XStorable with ODB document - OO.o hangs
user name
2006-08-30 06:25:54
Hi Andreas,

a crash is always a bug. Can you please file an issue?

Thx,
Christoph

Andreas Bröker schrieb:
> Hello,
> 
> 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(&
quot;com.sun.star.frame.Desktop");
> 
>       XComponentLoader xComponentLoader =
>
(XComponentLoader)UnoRuntime.queryInterface(XComponentLoader
.class,
> object);
>       XComponent xComponent =
>
xComponentLoader.loadComponentFromURL("file:///c:/MyDB
2.odb", "_blank",
> FrameSearchFlag.ALL, new PropertyValue[0]);
>       XStorable storable =
> (XStorable)UnoRuntime.queryInterface(XStorable.class,
xComponent);
>       storable.store();
> 
> Is this a bug?
> 
> Thanks for any help in advance.
> 
> Best regards
> 
> Andreas
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
> For additional commands, e-mail: dev-helpapi.openoffice.org
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )