[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #10 from Adomas Venčkauskas --- Link to this thread*: http://web.archive.org/web/2007021500*/http://www.oooforum.org/forum/viewtopic.phtml?t=13205 -- You are receiving this mail because: You are the assignee for the bug.

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 Mike Kaganski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNC

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #8 from Adomas Venčkauskas --- Ok, thanks for the pointer to SequenceInputStream. I've updated our code with it, and it works, without the crash. I don't know why we've been using a custom InputStream implementation, since I'v

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #7 from Mike Kaganski --- FTR: the following Basic code works fine in Version: 25.8.0.3 (X86_64) Build ID: ab0112984cb0c13cf3d4edd063593d096a42a1aa CPU threads: 24; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan;

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #6 from Adomas Venčkauskas --- Sorry. It seems some things were missing and we have a custom StringInputStream implementation. Here's a fork of the starter extension with the reproduction case https://github.com/adomasven/libr

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #5 from Mike Kaganski --- StringInputStream is also undefined -- You are receiving this mail because: You are the assignee for the bug.

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #4 from Mike Kaganski --- (In reply to Mike Kaganski from comment #3) > path/to/libreoffice.jar path/to/yourprogram.jar`) heh, `yourprogram.java` was meant, of course -- You are receiving this mail because: You are the assi

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #3 from Mike Kaganski --- (In reply to Adomas Venčkauskas from comment #2) ... and `controller` is...? Please, provide something that can be used to just run. E.g., the same code implemented in Basic. Or a standalone applicat

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #2 from Adomas Venčkauskas --- Sorry, I was copying this from our codebase and trimming parts that are not relevant. ``` public XTextViewCursor getSelection() { XTextViewCursorSupplier supplier = (XTex

[Bug 167948] LibreOffice crashes when calling insertDocumentFromURL with a HTML file

2025-08-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=167948 --- Comment #1 from Mike Kaganski --- (In reply to Adomas Venčkauskas from comment #0) > Steps to Reproduce: > Run `insertText("Comment: 38 pages, 13 figures, 6 tables. > Submitted to Phys. Rev. D")`: > > ``` > public void insertTe