jabref
jabref copied to clipboard
Adding bibliography entries will trigger uncaughted exception occurred in Thread
JabRef version
5.10 (latest release)
Operating system
macOS
Details on version and operating system
macOS 13.4
Checked with the latest development build (copy version output from About dialog)
- [X] I made a backup of my libraries before testing the latest development version.
- [X] I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
- Open a bibliography library
- Add one reference entry, e.g., an article
- Save the library
- Click another entry (anyone)
The error occurs between steps 3 and 4, and I will not be able to edit other entries, and all other entries that I click will not change to the thing it should be, in other words, they will be the same entry exactly that I just added, I suspect that jumping to another entry is not working
Here is the error that I encountered
Appendix
...
Log File
Paste an excerpt of your log file here
@eustomaqua This likely the same issue as #10403 How did you add the new entry exactly ? Did you open the Entry Editor -> Bibtex Source and added it there? PS: You can paste bibtex directly on the table, a new entry will then be directly created
@Siedlerchr Thank you for the reply
I added an entry in this way, using these two, indicated by the red rectangle
Using the first one can add articles, and using the second one can add proceedings, articles, and so on
I feel it weird too, because Jabref worked well in the past, but yesterday, all of a sudden, the error just appeared
Just want to give an update, the error disappears, I don't know why. I did nothing except for those aforementioned actions
The error happened again when I was adding a new bibliography, and still don't know why
Hi @eustomaqua, please share the full exception stack trace.
Refs https://github.com/JabRef/jabref/pull/10399 We tried to analyze the issue
@HoussemNasri Sorry for the delayed reply, I was waiting but the error didn't appear in the past four days. I will update the detailed error information when it happens again
Hi it happens again,
and the details are
java.lang.IllegalArgumentException
at [email protected]/javafx.scene.control.IndexRange.<init>(IndexRange.java:53)
at [email protected]/org.fxmisc.richtext.GenericStyledArea.getParagraphSelection(GenericStyledArea.java:1142)
at [email protected]/org.fxmisc.richtext.GenericStyledArea.lambda$createCell$64(GenericStyledArea.java:1960)
at [email protected]/org.reactfx.value.Val$2.computeValue(Val.java:705)
at [email protected]/org.reactfx.value.ValBase.getValue(ValBase.java:17)
at [email protected]/org.reactfx.value.ValBase.newObserver(ValBase.java:40)
at [email protected]/org.reactfx.value.ValBase.newObserver(ValBase.java:8)
at [email protected]/org.reactfx.ObservableBase.addObserver(ObservableBase.java:110)
at [email protected]/org.reactfx.value.Val.addInvalidationObserver(Val.java:52)
at [email protected]/org.reactfx.value.Val.addListener(Val.java:80)
at [email protected]/org.fxmisc.richtext.ParagraphText.lambda$new$1(ParagraphText.java:110)
at [email protected]/com.sun.javafx.collections.MapListenerHelper$SingleChange.fireValueChangedEvent(MapListenerHelper.java:161)
at [email protected]/com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(MapListenerHelper.java:70)
at [email protected]/com.sun.javafx.collections.ObservableMapWrapper.callObservers(ObservableMapWrapper.java:115)
at [email protected]/com.sun.javafx.collections.ObservableMapWrapper.put(ObservableMapWrapper.java:173)
at [email protected]/org.fxmisc.richtext.GenericStyledArea.lambda$createCell$65(GenericStyledArea.java:1968)
at [email protected]/org.reactfx.util.NonAccumulativeStreamNotifications.lambda$head$0(NotificationAccumulator.java:134)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
at [email protected]/org.reactfx.ProperEventStream.emit(ProperEventStream.java:18)
at [email protected]/org.reactfx.EventStreams$27.tryEmit(EventStreams.java:599)
at [email protected]/org.reactfx.EventStreams$27.lambda$observeInputs$2(EventStreams.java:594)
at [email protected]/org.reactfx.util.NonAccumulativeStreamNotifications.lambda$head$0(NotificationAccumulator.java:134)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
at [email protected]/org.reactfx.ProperEventStream.emit(ProperEventStream.java:18)
at [email protected]/org.reactfx.FilterStream.lambda$observeInputs$0(FilterStream.java:20)
at [email protected]/org.reactfx.util.NonAccumulativeStreamNotifications.lambda$head$0(NotificationAccumulator.java:134)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
at [email protected]/org.reactfx.ProperEventStream.emit(ProperEventStream.java:18)
at [email protected]/org.reactfx.EventStreams$3.lambda$observeInputs$0(EventStreams.java:105)
at [email protected]/org.reactfx.value.ChangeListenerWrapper.accept(Val.java:786)
at [email protected]/org.reactfx.util.AbstractReducingStreamNotifications.lambda$head$0(NotificationAccumulator.java:248)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
at [email protected]/org.reactfx.value.ValBase.invalidate(ValBase.java:32)
at [email protected]/org.reactfx.value.SimpleVar.setValue(SimpleVar.java:59)
at [email protected]/org.fxmisc.richtext.ParagraphBox.setIndex(ParagraphBox.java:86)
at [email protected]/org.fxmisc.richtext.GenericStyledArea$3.updateIndex(GenericStyledArea.java:1985)
at [email protected]/org.fxmisc.flowless.CellWrapper.updateIndex(CellWrapper.java:129)
at [email protected]/org.fxmisc.flowless.CellWrapper.updateIndex(CellWrapper.java:129)
at [email protected]/org.fxmisc.flowless.CellListManager.presentCellsChanged(CellListManager.java:152)
at [email protected]/org.reactfx.util.ListNotifications.lambda$takeHead$0(NotificationAccumulator.java:317)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.collection.MemoizationListImpl$MemoizedView.publishNotifications(MemoizationList.java:58)
at [email protected]/org.reactfx.collection.MemoizationListImpl$MemoizedView.access$300(MemoizationList.java:30)
at [email protected]/org.reactfx.collection.MemoizationListImpl.sourceChanged(MemoizationList.java:89)
at [email protected]/org.reactfx.util.ListNotifications.lambda$takeHead$0(NotificationAccumulator.java:317)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
at [email protected]/org.reactfx.collection.MappedList.sourceChanged(MappedList.java:41)
at [email protected]/org.reactfx.util.ListNotifications.lambda$takeHead$0(NotificationAccumulator.java:317)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.SuspendableBase.resume(SuspendableBase.java:64)
at [email protected]/org.reactfx.CloseableOnceGuard.close(Guard.java:49)
at [email protected]/org.reactfx.MultiGuard.close(Guard.java:83)
at [email protected]/org.reactfx.Suspendable$1.resumeSource(Suspendable.java:118)
at [email protected]/org.reactfx.Suspendable$1.suspendSource(Suspendable.java:104)
at [email protected]/org.reactfx.util.NonAccumulativeStreamNotifications.lambda$head$0(NotificationAccumulator.java:134)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
at [email protected]/org.reactfx.ProperEventStream.emit(ProperEventStream.java:18)
at [email protected]/org.reactfx.EventStreams$3.lambda$observeInputs$0(EventStreams.java:105)
at [email protected]/org.reactfx.value.ChangeListenerWrapper.accept(Val.java:786)
at [email protected]/org.reactfx.util.AbstractReducingStreamNotifications.lambda$head$0(NotificationAccumulator.java:248)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
at [email protected]/org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
at [email protected]/org.reactfx.value.ValBase.invalidate(ValBase.java:32)
at [email protected]/org.reactfx.SuspendableBoolean.release(SuspendableBoolean.java:24)
at [email protected]/org.reactfx.CloseableOnceGuard.close(Guard.java:49)
at [email protected]/org.reactfx.Suspendable.suspendWhile(Suspendable.java:49)
at [email protected]/org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.updateMulti(GenericEditableStyledDocumentBase.java:218)
at [email protected]/org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.updateSingle(GenericEditableStyledDocumentBase.java:210)
at [email protected]/org.reactfx.util.Tuple3.exec(Tuple3.java:43)
at [email protected]/org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.replace(GenericEditableStyledDocumentBase.java:145)
at [email protected]/org.fxmisc.richtext.model.SimpleEditableStyledDocument.replace(SimpleEditableStyledDocument.java:10)
at [email protected]/org.fxmisc.richtext.GenericStyledArea.replace(GenericStyledArea.java:1547)
at [email protected]/org.fxmisc.richtext.GenericStyledArea.replaceText(GenericStyledArea.java:1533)
at [email protected]/org.fxmisc.richtext.EditActions.clear(EditActions.java:155)
at [email protected]/org.jabref.gui.entryeditor.SourceTab.lambda$updateCodeArea$6(SourceTab.java:236)
at [email protected]/org.jabref.gui.util.DefaultTaskExecutor.runAndWaitInJavaFXThread(DefaultTaskExecutor.java:80)
at [email protected]/org.jabref.gui.entryeditor.SourceTab.updateCodeArea(SourceTab.java:231)
at [email protected]/org.jabref.gui.entryeditor.SourceTab.lambda$bindToEntry$8(SourceTab.java:260)
at [email protected]/com.sun.javafx.collections.MapListenerHelper$Generic.fireValueChangedEvent(MapListenerHelper.java:318)
at [email protected]/com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(MapListenerHelper.java:70)
at [email protected]/com.sun.javafx.collections.ObservableMapWrapper.callObservers(ObservableMapWrapper.java:115)
at [email protected]/com.sun.javafx.collections.ObservableMapWrapper.put(ObservableMapWrapper.java:173)
at [email protected]/org.jabref.model.entry.BibEntry.setField(BibEntry.java:613)
at [email protected]/org.jabref.model.entry.BibEntry.setField(BibEntry.java:631)
at [email protected]/org.jabref.gui.entryeditor.SourceTab.storeSource(SourceTab.java:322)
at [email protected]/org.jabref.gui.entryeditor.SourceTab.lambda$setupSourceEditor$5(SourceTab.java:218)
at [email protected]/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:360)
at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at [email protected]/javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:78)
at [email protected]/javafx.scene.Node$FocusPropertyBase.notifyListeners(Node.java:8156)
at [email protected]/javafx.scene.Node$17.notifyListeners(Node.java:8228)
at [email protected]/javafx.scene.Node.notifyFocusListeners(Node.java:8177)
at [email protected]/javafx.scene.Scene.setWindowFocused(Scene.java:2120)
at [email protected]/javafx.scene.Scene.lambda$new$5(Scene.java:2107)
at [email protected]/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:348)
at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at [email protected]/javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:78)
at [email protected]/javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:103)
at [email protected]/javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:111)
at [email protected]/javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at [email protected]/javafx.stage.Window.setFocused(Window.java:702)
at [email protected]/javafx.stage.Window$1.setFocused(Window.java:160)
at [email protected]/com.sun.javafx.stage.WindowHelper.setFocused(WindowHelper.java:112)
at [email protected]/com.sun.javafx.stage.WindowPeerListener.changedFocused(WindowPeerListener.java:65)
at [email protected]/com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:126)
at [email protected]/com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:40)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at [email protected]/com.sun.javafx.tk.quantum.GlassWindowEventHandler.lambda$handleWindowEvent$4(GlassWindowEventHandler.java:178)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424)
at [email protected]/com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:176)
at [email protected]/com.sun.glass.ui.Window.handleWindowEvent(Window.java:1247)
at [email protected]/com.sun.glass.ui.Window.notifyFocus(Window.java:1226)
at [email protected]/com.sun.glass.ui.mac.MacWindow._setVisible(Native Method)
at [email protected]/com.sun.glass.ui.Window.setVisible(Window.java:630)
at [email protected]/com.sun.javafx.tk.quantum.WindowStage.lambda$setVisible$2(WindowStage.java:513)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithRenderLock(QuantumToolkit.java:442)
at [email protected]/com.sun.javafx.tk.quantum.WindowStage.setVisible(WindowStage.java:509)
at [email protected]/javafx.stage.Window$12.invalidated(Window.java:1186)
at [email protected]/javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at [email protected]/javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at [email protected]/javafx.stage.Window.setShowing(Window.java:1239)
at [email protected]/javafx.stage.Window.show(Window.java:1254)
at [email protected]/javafx.stage.Stage.show(Stage.java:277)
at [email protected]/javafx.stage.Stage.showAndWait(Stage.java:467)
at [email protected]/javafx.scene.control.HeavyweightDialog.showAndWait(HeavyweightDialog.java:162)
at [email protected]/javafx.scene.control.Dialog.showAndWait(Dialog.java:345)
at [email protected]/org.jabref.gui.JabRefDialogService.showCustomDialogAndWait(JabRefDialogService.java:268)
at [email protected]/org.jabref.gui.importer.NewEntryAction.execute(NewEntryAction.java:63)
at [email protected]/org.jabref.gui.actions.JabRefAction.lambda$new$3(JabRefAction.java:40)
at [email protected]/org.controlsfx.control.action.Action.handle(Action.java:423)
at [email protected]/org.controlsfx.control.action.Action.handle(Action.java:64)
at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189)
at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
at [email protected]/javafx.event.Event.fireEvent(Event.java:198)
at [email protected]/javafx.scene.Node.fireEvent(Node.java:8944)
at [email protected]/javafx.scene.control.Button.fire(Button.java:203)
at [email protected]/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:207)
at [email protected]/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)
at [email protected]/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247)
at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232)
at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189)
at [email protected]/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at [email protected]/javafx.event.Event.fireEvent(Event.java:198)
at [email protected]/javafx.scene.Scene$MouseHandler.process(Scene.java:3980)
at [email protected]/javafx.scene.Scene.processMouseEvent(Scene.java:1890)
at [email protected]/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450)
at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424)
at [email protected]/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449)
at [email protected]/com.sun.glass.ui.View.handleMouseEvent(View.java:551)
at [email protected]/com.sun.glass.ui.View.notifyMouse(View.java:937)
at [email protected]/com.sun.glass.ui.mac.MacView.notifyMouse(MacView.java:127)
thank you for taking care of this issue
@HoussemNasri Hi just so you know, the full description about this error has been reported. Thanks for taking a look at it and trying to solve this problem
Hi @eustomaqua Thanks for sharing the stacktrace. I can't allocate time for this in the near future as I'm busy with other things. If you feel this is high priority for you, we have extensive documentation about contributing to JabRef's code base, so you can have a go on the issue and we will try to help you in the process.