jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Uncaught java.lang.NullPointerException

Open ryan-carpenter opened this issue 1 year ago • 2 comments

JabRef version

Latest development branch build (please note build date below)

Operating system

GNU / Linux

Details on version and operating system

openSUSE Tumbleweed with KDE Plasma 6.0.5

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

  1. Select a search group
  2. Drag an entry to another group that excludes the entry from the search group
  3. Select another group => Uncaught exception

Possibly related to https://github.com/JabRef/jabref/issues/11628

JabRef 5.16--2024-08-13--1374813 Linux 6.9.9-1-default amd64 Java 21.0.2 JavaFX 22.0.2+4

Appendix

...

Log File
java.lang.NullPointerException
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)
	at [email protected]/org.jabref.gui.LibraryTab.lambda$createMainTable$12(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at [email protected]/com.sun.javafx.scene.control.SelectedItemsReadOnlyObservableList.lambda$new$0(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at [email protected]/com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList._endChange(Unknown Source)
	at [email protected]/javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList._endChange(Unknown Source)
	at [email protected]/javafx.scene.control.ControlUtils.updateSelectedIndices(Unknown Source)
	at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.fireCustomSelectedCellsListChangeEvent(Unknown Source)
	at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.lambda$new$0(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at [email protected]/javafx.collections.transformation.SortedList.sourceChanged(Unknown Source)
	at [email protected]/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source)
	at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at [email protected]/javafx.collections.ModifiableObservableListBase.add(Unknown Source)
	at java.base/java.util.AbstractList.add(Unknown Source)
	at [email protected]/com.sun.javafx.scene.control.SelectedCellsMap.add(Unknown Source)
	at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.select(Unknown Source)
	at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.select(Unknown Source)
	at [email protected]/javafx.scene.control.MultipleSelectionModelBase.shiftSelection(Unknown Source)
	at [email protected]/javafx.scene.control.MultipleSelectionModelBase.shiftSelection(Unknown Source)
	at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.updateSelection(Unknown Source)
	at [email protected]/javafx.scene.control.TableView$TableViewArrayListSelectionModel.lambda$new$2(Unknown Source)
	at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.commit(Unknown Source)
	at [email protected]/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.endChange(Unknown Source)
	at [email protected]/javafx.collections.transformation.SortedList.sourceChanged(Unknown Source)
	at [email protected]/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source)
	at [email protected]/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
	at [email protected]/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.collections.ObservableListBase.fireChange(Unknown Source)
	at [email protected]/javafx.collections.transformation.FilteredList.refilter(Unknown Source)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at [email protected]/org.jabref.gui.util.FilteredListProxy.refilterListReflection(Unknown Source)
	at [email protected]/org.jabref.gui.maintable.MainTableDataModel.lambda$updateGroupMatches$18(Unknown Source)
	at [email protected]/org.jabref.gui.util.UiTaskExecutor.lambda$getJavaFXTask$3(Unknown Source)
	at [email protected]/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at [email protected]/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at [email protected]/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at [email protected]/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at [email protected]/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at [email protected]/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at [email protected]/javafx.event.Event.fireEvent(Unknown Source)
	at [email protected]/javafx.concurrent.EventHelper.fireEvent(Unknown Source)
	at [email protected]/javafx.concurrent.Task.fireEvent(Unknown Source)
	at [email protected]/javafx.concurrent.Task.setState(Unknown Source)
	at [email protected]/javafx.concurrent.Task$TaskCallable.lambda$call$1(Unknown Source)
	at [email protected]/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at [email protected]/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
	at [email protected]/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at [email protected]/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at [email protected]/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$10(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

ryan-carpenter avatar Aug 19 '24 23:08 ryan-carpenter