Skip to content
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

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

Closed
2 tasks done
ryan-carpenter opened this issue Aug 15, 2024 · 5 comments
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs search status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Milestone

Comments

@ryan-carpenter
Copy link

ryan-carpenter commented Aug 15, 2024

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)

  • I made a backup of my libraries before testing the latest development version.
  • 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
Copy link
Author

Edits: updated description with additional context.

@Siedlerchr Siedlerchr added the bug Confirmed bugs or reports that are very likely to be bugs label Aug 15, 2024
@koppor koppor added this to the 6.0-alpha milestone Aug 20, 2024
@koppor
Copy link
Member

koppor commented Sep 16, 2024

DevCall:

@calixtus
Copy link
Member

Could not reproduce on windows 10 using .gradlew run

@koppor koppor added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Nov 12, 2024
@koppor
Copy link
Member

koppor commented Nov 12, 2024

@ryan-carpenter Could you recheck with the latest build, please?

@koppor
Copy link
Member

koppor commented Dec 9, 2024

Closing this issue due to inactivity 💤

Please reopen the issue with additional information if the problem persists.

@koppor koppor closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs search status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

No branches or pull requests

5 participants