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

Unable to make protected javafx.scene.control.skin.TableHeaderRow #11426

Closed
2 tasks done
ryan-carpenter opened this issue Jun 24, 2024 · 1 comment · Fixed by #11429 or arfazhxss/jabref#3
Closed
2 tasks done
Labels
bug Confirmed bugs or reports that are very likely to be bugs build-system

Comments

@ryan-carpenter
Copy link

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. Check integrity of some entries
  2. Error occurs and the Check integrity window pops up.
  3. Dismiss the error (times three)
  4. Continue working

JabRef 5.14-PullRequest11414.206--2024-06-22--a41867e
Linux 6.9.3-1-default amd64
Java 21.0.2
JavaFX 22.0.1+7

Appendix

...

Log File
java.lang.reflect.InaccessibleObjectException: Unable to make protected javafx.scene.control.skin.TableHeaderRow javafx.scene.control.skin.TableViewSkinBase.getTableHeaderRow() accessible: module javafx.controls does not "opens javafx.scene.control.skin" to module org.jabref.merged.module
	at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(Unknown Source)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Unknown Source)
	at java.base/java.lang.reflect.Method.setAccessible(Unknown Source)
	at [email protected]/impl.org.controlsfx.ReflectionUtils.getTableHeaderRowFrom(Unknown Source)
	at [email protected]/org.controlsfx.control.table.FilterPanel.checkChangeContextMenu(Unknown Source)
	at [email protected]/org.controlsfx.control.table.FilterPanel.lambda$new$0(Unknown Source)
	at [email protected]/javafx.beans.value.WeakChangeListener.changed(Unknown Source)
	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]/javafx.css.StyleableObjectProperty.set(Unknown Source)
	at [email protected]/javafx.scene.control.Control.doProcessCSS(Unknown Source)
	at [email protected]/javafx.scene.control.Control$1.doProcessCSS(Unknown Source)
	at [email protected]/com.sun.javafx.scene.control.ControlHelper.processCSSImpl(Unknown Source)
	at [email protected]/com.sun.javafx.scene.NodeHelper.processCSS(Unknown Source)
	at [email protected]/javafx.scene.Parent.doProcessCSS(Unknown Source)
	at [email protected]/javafx.scene.Parent$1.doProcessCSS(Unknown Source)
	at [email protected]/com.sun.javafx.scene.ParentHelper.processCSSImpl(Unknown Source)
	at [email protected]/com.sun.javafx.scene.NodeHelper.processCSS(Unknown Source)
	at [email protected]/javafx.scene.Parent.doProcessCSS(Unknown Source)
	at [email protected]/javafx.scene.Parent$1.doProcessCSS(Unknown Source)
	at [email protected]/com.sun.javafx.scene.ParentHelper.processCSSImpl(Unknown Source)
	at [email protected]/com.sun.javafx.scene.NodeHelper.processCSS(Unknown Source)
	at [email protected]/javafx.scene.Node.processCSS(Unknown Source)
	at [email protected]/javafx.scene.Node.applyCss(Unknown Source)
	at [email protected]/javafx.scene.control.HeavyweightDialog.positionStage(Unknown Source)
	at [email protected]/javafx.scene.control.HeavyweightDialog$1.centerOnScreen(Unknown Source)
	at [email protected]/javafx.scene.control.HeavyweightDialog.showAndWait(Unknown Source)
	at [email protected]/javafx.scene.control.Dialog.showAndWait(Unknown Source)
	at [email protected]/org.jabref.gui.JabRefDialogService.showCustomDialogAndWait(Unknown Source)
	at [email protected]/org.jabref.gui.integrity.IntegrityCheckAction.lambda$execute$1(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)

@Siedlerchr
Copy link
Member

needs to be added afterwards here and also in the mac yaml pipelines

// Fix for https://github.com/JabRef/jabref/issues/11225 on linux

@Siedlerchr Siedlerchr added build-system bug Confirmed bugs or reports that are very likely to be bugs labels Jun 25, 2024
Siedlerchr added a commit that referenced this issue Jun 25, 2024
github-merge-queue bot pushed a commit that referenced this issue Jun 26, 2024
This issue was closed.
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 build-system
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants