Zotero crashes when inserting citation in Open/LibreOffice text frame
When I tried to insert citations into my document today, Zotero suddenly started spitting out weird error messages and wouldn't work properly anymore. After pulling my hair out over this problem for the last few hours, I found out it was related to a reference inside a text frame which I had placed there earlier.
The error message was something along the lines of:
com.sun.star.lang.IllegalArgumentException:
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call (Native Method) at
com.sun.star.bridges.jni_uni.JNI.proxy_invoke ...
Sometimes I would also receive an error "Integration (command) is not a function".
I had no idea it was the citation inside the frame that was causing it, since Zotero was working fine for some time after I had put it there. When I first stumbled upon the error, I restored an old backup of the file and it was working fine again for some time, but then reappeared. Eventually I was able to figure out the problem by following these (excellent) troubleshooting guidelines: http://www.zotero.org/support/word_processor_plugin_troubleshooting I copied all content of the problematic file over to a new dummy document and started removing parts to find out which citation was causing the problem. Another forum post about citations in tables, which mentioned a similar error message, was also very helpful: http://forums.zotero.org/discussion/16262/zotero-crash-when-inserting-citation-in-table/ Eventually, I found the citation within the text frame.
Long story short: The current OpenOffice plugin of Zotero doesn't work well with "special" features, or non-ordinary parts of the document, such as tables or text frames. I'm posting this here as a help to others, so they won't come as close to throwing their system ouf of the window as I did :)
The error message was something along the lines of:
com.sun.star.lang.IllegalArgumentException:
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call (Native Method) at
com.sun.star.bridges.jni_uni.JNI.proxy_invoke ...
Sometimes I would also receive an error "Integration (command) is not a function".
I had no idea it was the citation inside the frame that was causing it, since Zotero was working fine for some time after I had put it there. When I first stumbled upon the error, I restored an old backup of the file and it was working fine again for some time, but then reappeared. Eventually I was able to figure out the problem by following these (excellent) troubleshooting guidelines: http://www.zotero.org/support/word_processor_plugin_troubleshooting I copied all content of the problematic file over to a new dummy document and started removing parts to find out which citation was causing the problem. Another forum post about citations in tables, which mentioned a similar error message, was also very helpful: http://forums.zotero.org/discussion/16262/zotero-crash-when-inserting-citation-in-table/ Eventually, I found the citation within the text frame.
Long story short: The current OpenOffice plugin of Zotero doesn't work well with "special" features, or non-ordinary parts of the document, such as tables or text frames. I'm posting this here as a help to others, so they won't come as close to throwing their system ouf of the window as I did :)
I'm not sure how well we understand when that is the case, though. My prior understanding was that captions never work, but tables do work.
In what type of "text frame" did you insert the citation? I.e. what exactly produced the frame?