-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception thrown while JR-LibreOffice connection updates references in the ODT document #7615
Comments
When finished inserting and syncing, JR tries to move the cursor back to its original position. With JabRef 5.2
Could you check if
|
Thanks for handling this issue.
I've not had time to compile JR by myself, but if the fix can detect this more likely case, then I suppose it's fine. |
|
Great! Regarding time consumption: An alternative would be to let the user insert citations and only update the bibliography on demand or on save, for example. Also, it's very unlikely that one places the cursor inside the bibliography when inserting a citation. I recall I tried "updating" the bibliography when the cursor is inside it and that seemed to work without exception. Thanks, again. |
In the Openoffice/Libreoffice panel [Settings]/[Automatically sync bibliography...] |
Ah, thanks! Perfect. |
Could you please try the latest Jabref development-build and check if the issue here still is reproducible? It can be found here: https://builds.jabref.org/main/ In the newest build, #7795, mainly authored by @antalk2, was merged. There were some changes related to the Open Office (OO) and Libre Office (LO) integration. Edit: Antalk2 clarified, this issue here might be resolved with the merger.
|
@ThiloteE Thanks for the update. I've tried it as described above (reference added and updated the bibliography) and it seems to work now. No exception thrown at that time. |
Great! Closing this :-) |
JabRef 5.3--2021-03-29--2948e6d
Linux 5.8.0-48-generic amd64
Java 15.0.2
JavaFX 16+8
Steps to reproduce the behaviour:
It happened several times to me like described but it is not easily reproducible. I am reporting this because I'm not sure whether the ODT document model is correctly manipulated.
Log File
com.sun.star.uno.RuntimeException: at org.libreoffice.uno/com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Unknown Source) at org.libreoffice.uno/com.sun.star.lib.uno.environments.remote.Job.execute(Unknown Source) at org.libreoffice.uno/com.sun.star.lib.uno.environments.remote.JobQueue.enter(Unknown Source) at org.libreoffice.uno/com.sun.star.lib.uno.environments.remote.JobQueue.enter(Unknown Source) at org.libreoffice.uno/com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(Unknown Source) at org.libreoffice.uno/com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(Unknown Source) at org.libreoffice.uno/com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(Unknown Source) at org.libreoffice.uno/com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(Unknown Source) at com.sun.proxy.$Proxy29.gotoRange(Unknown Source) at org.jabref@5.3.229/org.jabref.gui.openoffice.OOBibBase.insertEntry(Unknown Source) at org.jabref@5.3.229/org.jabref.gui.openoffice.OpenOfficePanel.pushEntries(Unknown Source) at org.jabref@5.3.229/org.jabref.gui.openoffice.OpenOfficePanel.lambda$initPanel$5(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at org.jabref.merged.module@5.3.229/javafx.event.Event.fireEvent(Unknown Source) at org.jabref.merged.module@5.3.229/javafx.scene.Node.fireEvent(Unknown Source) at org.jabref.merged.module@5.3.229/javafx.scene.control.Button.fire(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) at org.jabref.merged.module@5.3.229/javafx.event.Event.fireEvent(Unknown Source) at org.jabref.merged.module@5.3.229/javafx.scene.Scene$MouseHandler.process(Unknown Source) at org.jabref.merged.module@5.3.229/javafx.scene.Scene.processMouseEvent(Unknown Source) at org.jabref.merged.module@5.3.229/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.glass.ui.View.handleMouseEvent(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.glass.ui.View.notifyMouse(Unknown Source) at org.jabref.merged.module@5.3.229/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at org.jabref.merged.module@5.3.229/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)The text was updated successfully, but these errors were encountered: