Bug 131600 - Cannot save XStorable to file
Summary: Cannot save XStorable to file
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
6.4.1.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-26 12:51 UTC by Oleg Shchelykalnov
Modified: 2020-04-03 07:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Shchelykalnov 2020-03-26 12:51:30 UTC
I'm loaded document with XComponentLoader::loadComponentFromURL from java code same as https://forum.openoffice.org/en/forum/viewtopic.php?f=44&t=3801#

I've tested it and XTextDocument contains correct text. I've extracted XStoreable interface and call XStorable::storeToURL or XStorable::storeAsURL but got error: 

com.sun.star.io.IOException: component context fails to supply service com.sun.star.rdf.URI of type com.sun.star.rdf.XURI: loading component library <file:///usr/lib/libreoffice/program/libunordflo.so> failed
	at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:158) ~[jurt-6.3.2.jar:?]
	at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:122) ~[jurt-6.3.2.jar:?]
	at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:312) ~[jurt-6.3.2.jar:?]
	at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:281) ~[jurt-6.3.2.jar:?]
	at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:81) ~[jurt-6.3.2.jar:?]
	at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:619) ~[jurt-6.3.2.jar:?]
	at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:145) ~[jurt-6.3.2.jar:?]
	at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:129) ~[jurt-6.3.2.jar:?]
	at com.sun.proxy.$Proxy34.storeToURL(Unknown Source) ~[?:?]

Mentioned library is present.

I use Ubuntu 18.04:

Installed packages from https://launchpad.net/~libreoffice/+archive/ubuntu/libreoffice-6-4 :

fonts-opensymbol/bionic,now 2:102.11+LibO6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
libjuh-java/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
libjurt-java/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
libreoffice-base-core/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
libreoffice-common/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
libreoffice-core-nogui/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed]
libreoffice-math-nogui/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
libreoffice-style-colibre/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
libreoffice-style-tango/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
libreoffice-writer-nogui/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed]
libridl-java/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
libuno-cppu3/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
libuno-cppuhelpergcc3-3/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
libuno-purpenvhelpergcc3-3/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
libuno-sal3/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
libuno-salhelpergcc3-3/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
libunoloader-java/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 all [installed,automatic]
python3-uno/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
uno-libs-private/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
ure/bionic,now 1:6.4.1~rc2-0ubuntu0.18.04.1 amd64 [installed,automatic]
Comment 1 Oleg Shchelykalnov 2020-03-26 14:28:00 UTC
I found I miss:
        librdf.so.0 => not found
        libraptor2.so.0 => not found

which provided by librdf0 package. Looks like PPA missing dependencies.
Comment 2 Oliver Brinzing 2020-03-28 09:51:14 UTC
(In reply to Oleg Shchelykalnov from comment #1)
> I found I miss:
>         librdf.so.0 => not found
>         libraptor2.so.0 => not found
> 
> which provided by librdf0 package. Looks like PPA missing dependencies.

I am not sure whether I understood you correctly, is it an issue from your point of view or have you solved the problem?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 3 Oleg Shchelykalnov 2020-03-28 09:56:09 UTC
It's issue of LibreOffice PPA. Not sure where this bug should be placed.
Comment 4 QA Administrators 2020-03-29 02:27:25 UTC Comment hidden (obsolete)
Comment 5 Oleg Shchelykalnov 2020-03-29 09:46:41 UTC
Fixed in PPA repository.