jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Cannot invoke "javafx.beans.InvalidationListener.invalidated(javafx.beans.Observable)" because "<local1>[<local5>]" is null

Open ryan-carpenter opened this issue 1 year ago • 1 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. Click on a group
  2. Edit a group?
  3. Click on another group

Also, the exception

  • does not seem to apply to a specific group or group-type
  • does not occur consistently when returning to the same group that led to the exception
  • occurs when there is or is not text in the search bar
  • resolves after restarting JabRef and re-opening the library
  • eventually recurs after restarting
  • sometimes opens many copies of the uncaught exception message box
  • seems to happen after editing a group, but this may be coincidental

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: Cannot invoke "javafx.beans.InvalidationListener.invalidated(javafx.beans.Observable)" because "<local1>[<local5>]" is null
	at [email protected]/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
	at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(Unknown Source)
	at [email protected]/javafx.beans.property.ObjectPropertyBase.markInvalid(Unknown Source)
	at [email protected]/javafx.beans.property.ObjectPropertyBase.set(Unknown Source)
	at [email protected]/org.jabref.gui.maintable.BibEntryTableViewModel.updateMatchCategory(Unknown Source)
	at [email protected]/org.jabref.gui.maintable.MainTableDataModel.updateEntryGroupMatch(Unknown Source)
	at [email protected]/org.jabref.gui.maintable.MainTableDataModel.lambda$updateGroupMatches$16(Unknown Source)
	at java.base/java.lang.Iterable.forEach(Unknown Source)
	at [email protected]/org.jabref.gui.maintable.MainTableDataModel.lambda$updateGroupMatches$17(Unknown Source)
	at [email protected]/org.jabref.gui.util.BackgroundTask$2.call(Unknown Source)
	at [email protected]/org.jabref.gui.util.BackgroundTask$2.call(Unknown Source)
	at [email protected]/org.jabref.gui.util.UiTaskExecutor$1.call(Unknown Source)
	at [email protected]/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

ryan-carpenter avatar Aug 15 '24 04:08 ryan-carpenter