Updated LibreOffice crashing with Zotero

Hi, I just updated LibreOffice, and I get the following error message when I try to insert citations in a document via Zotero. (I reinstalled Zotero, but no fix). I’d be very grateful if anyone has any ideas for a fix.

Zotero experienced an error updating your document.

An error occurred communicating with Zotero:
com.sun.star.uno.RuntimeException: SwXFootnote: disposed or invalid
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy16.createTextCursorByRange(Unknown Source)
at org.zotero.integration.ooo.comp.Document.insertMarkAtRange(Document.java:553)
at org.zotero.integration.ooo.comp.Document.insertField(Document.java:457)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:103)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:61)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:84)
at java.lang.Thread.run(Unknown Source)

Hello,

I don’t use Zotero but from past questions read it uses Java and it appears the errors are all based around that being the problem.

Now what you don’t state in you question is what LO you upgraded from and to. This could be the problem. If moving from a 32-bit LO to a 64-bit LO, a 64-bit Java JRE needs to be installed. LO and Java need to match bitwise. If a correct version is installed, it will appear in (from menu) Tools->Options under LibreOffice->Advanced.

image description

Right, thanks.

Via LO Writer > Options > Advanced, I seem to have two installed

1.8.0_172 1.8.0_161

and the second (161) is checked.

I seem to have downloaded the 64 bit update of LO.

I don’t know if this is compatible with the 161 version of java.

From your comment it appears you have a valid Java installed. Sorry, have nothing further to offer for help.