https://bugs.documentfoundation.org/show_bug.cgi?id=151766

--- Comment #5 from Mike Little <[email protected]> ---
(In reply to Simon Muschel from comment #0)
> Created attachment 183279 [details]
> Sample Code
> 
> Problem: LibreOffice freezes/becomes unresponsive when started (or being
> controlled) from a Java Application using UNO API (libreoffice.jar). This
> reproducibly happens for calls to loadComponentFromURL but also on
> dispose-Calls (lines 17 and 19 in sample).
> 
> The attached sample code was used to demonstrate this behavior.
> 
> Hardware/OS info: M1 MacBook Pro, both Monterey and Ventura were used.
> LibreOffice versions: multiple versions from 7.2.x, 7.3.x and latest 7.4;
> all M1 architecture
> 
> Test cases:
> 
> 1. LibreOffice is not running. The attached test class is executed and tries
> to open an empty Writer document. The call to
> 'loader.loadComponentFromURL(...)' creates an empty LibreOffice window, but
> not the Writer content (only a gray window is displayed, LibreOffice is
> unresponsive). Have to kill the process.
> 
> 2. LibreOffice is started manually, a Writer document is opened manually.
> The test class successfully opens another empty Writer window. In this case,
> the sample fails on the dispose call (LibreOffice becomse unresponsive, have
> to kill process)
> 
> Additional info:
> Same code works on an Intel MacMini with an older version of LibreOffice
> (7.0.x, Intel architecture).
> 
> I also tried several Intel-architecture versions on the M1 MacBook Pro -
> until version 7.3.2.2, I could make the sample work. It starts failing from
> version 7.3.4.1 onwards.

Do I need to download and configure the OpenOffice SDK as I am getting in
Eclipse "The import com.sun.star" cannot be resolved...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to