Libreoffice communication error with zotero plugin
When I try to add a citation to my document, I get the following error. I've tried clicking okay and then refreshing the document but the new citation(s) do(es)n't then appear in the bibliography. Any ideas?
An error occurred communicating with Zotero:
com.sun.star.uno.RuntimeException:
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.$Proxy29.gotoRange(Unknown Source)
at org.zotero.integration.ooo.comp.ReferenceMark.select(ReferenceMark.java:140)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:121)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:40)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:60)
at java.lang.Thread.run(Unknown Source)
'An error occurred communicating with Zotero:
com.sun.star.uno.RuntimeException:
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.$Proxy29.gotoRange(Unknown Source)
at org.zotero.integration.ooo.comp.ReferenceMark.select(ReferenceMark.java:140)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:121)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:40)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:60)
at java.lang.Thread.run(Unknown Source)
' when calling method: [zoteroIntegrationField::select]
An error occurred communicating with Zotero:
com.sun.star.uno.RuntimeException:
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.$Proxy29.gotoRange(Unknown Source)
at org.zotero.integration.ooo.comp.ReferenceMark.select(ReferenceMark.java:140)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:121)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:40)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:60)
at java.lang.Thread.run(Unknown Source)
'An error occurred communicating with Zotero:
com.sun.star.uno.RuntimeException:
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.$Proxy29.gotoRange(Unknown Source)
at org.zotero.integration.ooo.comp.ReferenceMark.select(ReferenceMark.java:140)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:121)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:40)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:60)
at java.lang.Thread.run(Unknown Source)
' when calling method: [zoteroIntegrationField::select]
This is on Windows 7, LO 5.2, Zotero 4.0.29.11
There seem to be no problems in a new document.
I thought I should also include that I'm using bookmarks as opposed to reference marks and the references are stored in the document.
Thanks for replying so quickly btw!
An error occurred communicating with Zotero: com.sun.star.uno.RuntimeException:
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.$Proxy31.gotoRange(Unknown Source)
at org.zotero.integration.ooo.comp.ReferenceMark.select(ReferenceMark.java:140)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:121)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:40)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:60)
at java.lang.Thread.run(Thread.java:745)'
An error occurred communicating with Zotero: com.sun.star.uno.RuntimeException:
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.$Proxy31.gotoRange(Unknown Source)
at org.zotero.integration.ooo.comp.ReferenceMark.select(ReferenceMark.java:140)
at org.zotero.integration.ooo.comp.CommMessage.execute(CommMessage.java:121)
at org.zotero.integration.ooo.comp.CommMessage.getBytes(CommMessage.java:40)
at org.zotero.integration.ooo.comp.CommServer.run(CommServer.java:60)
at java.lang.Thread.run(Thread.java:745)
You can also use the other tips on that page to try and fix the problem, of course.
If that works at all, you could try converting your document to user ReferenceMarks, copy the contents over to a fresh document and then convert it back to use Bookmarks. This might break some existing active references and you will have to re-insert those, but you should be able to retain the majority of them and the freshly regenerated bookmark-based references will be certainly clean.
When performing the procedure make sure that the conversion works correctly by enabling Field Code shading by enabling View -> Field Shadings. When using ReferenceMarks active citations should have a gray background. When converting back to bookmarks in a fresh document the active citations should lose the gray background. Make sure you can still edit the citations after conversion, before saving the document. Don't forget to keep a backup before proceeding.
I should soon translate it from Portuguese to English, and then I'll type if from scratch without tracking changes. Unfortunately, I have to use DOC(X) files because of coauthors.
I'm having a very similar problem with a big document that I almost finished. I have it configured with reference marks.
Before that I update Zotero and also was manipulating the database within the web. I have done before that a long time ago, but maybe this have broken my document configuration of links to Zotero.
I tried to delete the bibliography but I still have the problem.
This doesn't happen with a new document. And I have a backup of the undebugged document. So in that part I'm safe.
I'm using Ubuntu 16.04 LTS with LibreOffice 5.1.6.2. I'm using ReferenceMarks. The recomended setup. I send the report or the error with the number 794620462.
Hope anyone of you can help me with this. Please.
I'm debugging the document. And I'm close to discover where is the problem. There are 2 chapters that have 2 or more broken links to Zotero, I think.