Whenever I add a task and edit the details in task properties, no text appears under the task columns for task name, begin date, end date etc. The following error message has appeared:
Feb 20, 2023 4:45:54 PM biz.ganttproject.LoggerImpl debug
FINE: Creating main frame…
Feb 20, 2023 4:45:54 PM biz.ganttproject.LoggerImpl debug
FINE: 1. loading look’n’feels
Feb 20, 2023 4:45:54 PM biz.ganttproject.LoggerImpl debug
FINE: 2. loading options
Feb 20, 2023 4:45:55 PM biz.ganttproject.LoggerImpl debug
FINE: 3. creating menus…
Feb 20, 2023 4:45:55 PM biz.ganttproject.LoggerImpl debug
FINE: 4. creating views…
Feb 20, 2023 4:45:56 PM biz.ganttproject.LoggerImpl debug
FINE: 5. calculating size and packing…
Feb 20, 2023 4:45:56 PM biz.ganttproject.LoggerImpl debug
FINE: 6. changing language …
Feb 20, 2023 4:45:56 PM biz.ganttproject.LoggerImpl debug
FINE: 7. first attempt to restore bounds
Feb 20, 2023 4:45:56 PM biz.ganttproject.LoggerImpl debug
FINE: 8. finalizing…
Feb 20, 2023 4:45:57 PM net.sourceforge.ganttproject.GPLogger log
INFO: Starting RSS check…
Feb 20, 2023 4:45:58 PM net.sourceforge.ganttproject.GPLogger log
INFO: Deleting old auto-save files
Feb 20, 2023 4:45:58 PM net.sourceforge.ganttproject.GPLogger log
INFO: RSS check finished
Feb 20, 2023 4:45:58 PM net.sourceforge.ganttproject.GPLogger log
INFO: [GanttOptions] save(): finished!!
Feb 20, 2023 4:51:27 PM net.sourceforge.ganttproject.GPLogger logToLogger
WARNING: com/sun/javafx/scene/control/behavior/TextBinding
java.lang.NoClassDefFoundError: com/sun/javafx/scene/control/behavior/TextBinding
at biz.ganttproject.lib.fx.treetable.LabeledSkinBase.updateDisplayedText(LabeledSkinBase.java:960)
at biz.ganttproject.lib.fx.treetable.LabeledSkinBase.layoutLabelInArea(LabeledSkinBase.java:537)
at biz.ganttproject.lib.fx.treetable.LabeledSkinBase.layoutLabelInArea(LabeledSkinBase.java:460)
at biz.ganttproject.lib.fx.treetable.TableCellSkinBase.layoutChildren(TableCellSkinBase.java:145)
at javafx.controls/javafx.scene.control.Control.layoutChildren(Unknown Source)
at javafx.controls/javafx.scene.control.Cell.layoutChildren(Unknown Source)
at javafx.controls/javafx.scene.control.TreeTableCell.layoutChildren(Unknown Source)
at javafx.graphics/javafx.scene.Parent.layout(Unknown Source)
at javafx.graphics/javafx.scene.Parent.layout(Unknown Source)
at javafx.graphics/javafx.scene.Parent.layout(Unknown Source)
at javafx.graphics/javafx.scene.Parent.layout(Unknown Source)
at javafx.graphics/javafx.scene.Parent.layout(Unknown Source)
at javafx.graphics/javafx.scene.Parent.layout(Unknown Source)
at javafx.graphics/javafx.scene.Scene.doLayoutPass(Unknown Source)
at javafx.graphics/javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.Toolkit.lambda$runPulse$2(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.Toolkit.runPulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.javafx.scene.control.behavior.TextBinding
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at com.bardsoftware.eclipsito.runtime.BundleClassLoader.findClass(BundleClassLoader.java:128)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
… 27 more
I was having this problem with the generic zip bundle running on Arch linux, using OpenJDK 25 and OpenJFX 25, running the ganttproject script with $OPENJFX_JAVA_OPTIONS --add-modules=ALL-MODULE-PATH added to the $JAVA_COMMAND call.
Noticing on page GanttProject - Download that it’s tested on Java 17, I downgraded to liberica jdk17 and it now works fine.
But, has anyone gotten task table text showing up on more recent open versions of Java with JFX? Was there a setting I was missing?