openmolecules.org

 
Home » DataWarrior » Installation Issues » error when edit with WYSIWYG in Explanation view
error when edit with WYSIWYG in Explanation view [message #2067] Thu, 04 January 2024 17:25 Go to next message
ksong is currently offline  ksong
Messages: 6
Registered: January 2024
Junior Member
It looks like each character in Explanation view of reference file CNX_N0nCNS.dwar turns into a brick, same for Explanation view in FLT3 tutorial. trying edit with HTML is ok, but edit with WYSIWYG will return an alert as below:
  • Attachment: 2.png
    (Size: 546.33KB, Downloaded 81 times)
  • Attachment: 1.png
    (Size: 768.94KB, Downloaded 79 times)
Re: error when edit with WYSIWYG in Explanation view [message #2070 is a reply to message #2067] Fri, 05 January 2024 01:26 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 711
Registered: June 2014
Senior Member
I cannot reproduce that. Which OS do you use? Which language? Do you have a special character encoding?
Re: error when edit with WYSIWYG in Explanation view [message #2071 is a reply to message #2070] Fri, 05 January 2024 03:14 Go to previous messageGo to next message
ksong is currently offline  ksong
Messages: 6
Registered: January 2024
Junior Member
I'm with Win10 Enterprise Version 22H2, OS build version is 19045.3693.
Language setting is in English(United States). Current system local is also set with English(United States), and UTF-8 encoding is checked.
Re: error when edit with WYSIWYG in Explanation view [message #2078 is a reply to message #2071] Fri, 05 January 2024 15:11 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 711
Registered: June 2014
Senior Member
I tried using various things in WYSIWYG editing on Win10 with local English(US), but still have no issues. I assume that issue is not being able to access a certain OS-font from the JavaFX environment. If you run DataWarrior from the command line, you should get a stack trace (multiline recursive message where things go wrong), which might allow me to find at least the location of the problem. With that I may improve the error handling and possibly create some workaround. But I cannot promise. Without being able to reproduce it is just guessing...
Re: error when edit with WYSIWYG in Explanation view [message #2093 is a reply to message #2078] Wed, 10 January 2024 06:57 Go to previous messageGo to next message
ksong is currently offline  ksong
Messages: 6
Registered: January 2024
Junior Member
Thanks for the hints. I tried launch DataWarrior from command line as arrows labeled in attached screenshot, and click to edit with WYSIWYG, it looks like the echo from command line is blank. I wonder if there are any flag setting to turn on the logging/tracing in command line?
  • Attachment: p1.png
    (Size: 392.34KB, Downloaded 93 times)
Re: error when edit with WYSIWYG in Explanation view [message #2094 is a reply to message #2093] Wed, 10 January 2024 14:13 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 711
Registered: June 2014
Senior Member
Just to make sure: your DataWarrior version is v6.0.0? If so, then you could download a debug version of the DataWarrior.exe file, which should give you much more information from the commandline: openmolecules.org/datawarrior/datawarrior600d.zip. Donwload, unpack and copy the executable file into "C:\Program Files\DataWarrior". Then, in a command window cd to that directory and launch the new exe. Any useful output?
Re: error when edit with WYSIWYG in Explanation view [message #2095 is a reply to message #2094] Thu, 11 January 2024 06:02 Go to previous messageGo to next message
ksong is currently offline  ksong
Messages: 6
Registered: January 2024
Junior Member
Thanks a lot for the information. I've downloaded the debug version, below is the output from the command window(duplicated error message was removed. the main GUI was stuck on the error window, it was killed from task manager):

Microsoft Windows [Version 10.0.19045.3693]
(c) Microsoft Corporation. All rights reserved.

C:\Program Files\DataWarrior>DataWarrior_d.exe
Idorsia JavaVM Cache BootStrap Launcher Version 3.0 Jan 11 2023
Copyright (c) 2001-2019, Idorsia Pharmaceuticals Ltd.

Option not recognized, is it an argument?(DataWarrior_d.exe)
There are 195989 total MB of physical memory.
Option not recognized, is it an argument?(-Xmx3600m)
There are 195989 total MB of physical memory.
Unable to load CONFIG-PATH Resource (Resource not found)<1813>
Unable to load INIT-HEAP-PERC Resource (Resource not found) errno <1813>
Unable to load MAX-HEAP-PERCENT Resource (Resource not found) 1813
Unable to load SYNC-PATH Resource (Resource not found)1813
Exception in thread "JavaFX Application Thread" java.lang.UnsatisfiedLinkError: 'java.lang.String com.sun.javafx.font.directwrite.DWFactory.regReadFontLink(ja va.lang.String)'
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.re gReadFontLink(Native Method)
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.ge tFallbacks(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getLinkedFon ts(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getNumSlots( Unknown Source)
at javafx.graphics/com.sun.javafx.font.CompositeGlyphMapper.<init >(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getGlyphMapp er(Unknown Source)
at javafx.web/com.sun.javafx.webkit.prism.WCFontImpl.getGlyphCo des(Unknown Source)
at javafx.web/com.sun.webkit.WebPage.twkInit(Native Method)
at javafx.web/com.sun.webkit.WebPage.<init>(Unknown Source)
at javafx.web/javafx.scene.web.WebEngine.<init>(Unknown Source)
at javafx.web/javafx.scene.web.WebEngine.<init>(Unknown Source)
at javafx.web/javafx.scene.web.WebView.<init>(Unknown Source)
at com.actelion.research.table.view.ExplanationView.lambda$new$ 1(ExplanationView.java:66)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lamb da$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknow n Source)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lamb da$runLater$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Futur e.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$r unLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Exception in thread "JavaFX Application Thread" java.lang.UnsatisfiedLinkError: 'java.lang.String com.sun.javafx.font.directwrite.DWFactory.regReadFontLink(ja va.lang.String)'
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.re gReadFontLink(Native Method)
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.ge tFallbacks(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getLinkedFon ts(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getNumSlots( Unknown Source)
at javafx.graphics/com.sun.javafx.font.CompositeGlyphMapper.<init >(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getGlyphMapp er(Unknown Source)
at javafx.web/com.sun.javafx.webkit.prism.WCFontImpl.getGlyphCo des(Unknown Source)
at javafx.web/com.sun.webkit.MainThread.twkScheduleDispatchFunc tions(Native Method)
at javafx.web/com.sun.webkit.MainThread.lambda$fwkScheduleDispa tchFunctions$0(Unknown Source)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lamb da$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknow n Source)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lamb da$runLater$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Futur e.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$r unLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: 'java.lang.String com.sun.javafx.font.directwrite.DWFactory.regReadFontLink(ja va.lang.String)'
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.re gReadFontLink(Native Method)
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.ge tFallbacks(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getLinkedFon ts(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getNumSlots( Unknown Source)
at javafx.graphics/com.sun.javafx.font.CompositeGlyphMapper.<init >(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getGlyphMapp er(Unknown Source)
at javafx.graphics/com.sun.javafx.text.GlyphLayout.breakRuns(Un known Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.buildRun s(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.layout(U nknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.ensureLa yout(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.getBound s(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.skin.Utils.comp uteTextHeight(Unknown Source)
at javafx.controls/javafx.scene.control.skin.LabeledSkinBase.co mputePrefHeight(Unknown Source)
at javafx.controls/javafx.scene.control.skin.ListCellSkin.compu tePrefHeight(Unknown Source)
at javafx.controls/javafx.scene.control.Control.computePrefHeig ht(Unknown Source)
at javafx.graphics/javafx.scene.Parent.prefHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.prefHeight(Unknow n Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.resize Cell(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.getCel l(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.getOrC reateCellSize(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.getOrC reateCellSize(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.recalc ulateAndImproveEstimatedSize(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow$5.inva lidated(Unknown Source)
at javafx.base/javafx.beans.property.IntegerPropertyBase.markIn valid(Unknown Source)
at javafx.base/javafx.beans.property.IntegerPropertyBase.set(Un known Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.setCel lCount(Unknown Source)
at javafx.controls/javafx.scene.control.skin.ListViewSkin.updat eItemCount(Unknown Source)
at javafx.controls/javafx.scene.control.skin.ListViewSkin.<init >(Unknown Source)
at javafx.controls/javafx.scene.control.ListView.createDefaultS kin(Unknown Source)
at javafx.controls/javafx.scene.control.Control.doProcessCSS(Un known Source)
at javafx.controls/javafx.scene.control.Control$1.doProcessCSS( Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.p rocessCSSImpl(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(U nknown Source)
at javafx.graphics/javafx.scene.Parent.doProcessCSS(Unknown Source)
at javafx.graphics/javafx.scene.Parent$1.doProcessCSS(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.ParentHelper.processCSS Impl(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.s uperProcessCSSImpl(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.s uperProcessCSS(Unknown Source)
at javafx.controls/javafx.scene.control.Control.doProcessCSS(Un known Source)
at javafx.controls/javafx.scene.control.Control$1.doProcessCSS( Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.p rocessCSSImpl(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(U nknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Scene.doCSSPass(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(Unknow n 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.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul seFromQueue(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lam bda$runToolkit$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Futur e.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$r unLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: 'java.lang.String com.sun.javafx.font.directwrite.DWFactory.regReadFontLink(ja va.lang.String)'
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.re gReadFontLink(Native Method)
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.ge tFallbacks(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getLinkedFon ts(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getNumSlots( Unknown Source)
at javafx.graphics/com.sun.javafx.font.CompositeGlyphMapper.<init >(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getGlyphMapp er(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.shape(Un known Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.layout(U nknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.ensureLa yout(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.getBound s(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.skin.Utils.comp uteTextHeight(Unknown Source)
at javafx.controls/javafx.scene.control.skin.LabeledSkinBase.co mputePrefHeight(Unknown Source)
at javafx.controls/javafx.scene.control.skin.ListCellSkin.compu tePrefHeight(Unknown Source)
at javafx.controls/javafx.scene.control.Control.computePrefHeig ht(Unknown Source)
at javafx.graphics/javafx.scene.Parent.prefHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.prefHeight(Unknow n Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.resize Cell(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.getCel l(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.getOrC reateCellSize(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.getOrC reateCellSize(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.recalc ulateAndImproveEstimatedSize(Unknown Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow$5.inva lidated(Unknown Source)
at javafx.base/javafx.beans.property.IntegerPropertyBase.markIn valid(Unknown Source)
at javafx.base/javafx.beans.property.IntegerPropertyBase.set(Un known Source)
at javafx.controls/javafx.scene.control.skin.VirtualFlow.setCel lCount(Unknown Source)
at javafx.controls/javafx.scene.control.skin.ListViewSkin.updat eItemCount(Unknown Source)
at javafx.controls/javafx.scene.control.skin.ListViewSkin.<init >(Unknown Source)
at javafx.controls/javafx.scene.control.ListView.createDefaultS kin(Unknown Source)
at javafx.controls/javafx.scene.control.Control.doProcessCSS(Un known Source)
at javafx.controls/javafx.scene.control.Control$1.doProcessCSS( Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.p rocessCSSImpl(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(U nknown Source)
at javafx.graphics/javafx.scene.Parent.doProcessCSS(Unknown Source)
at javafx.graphics/javafx.scene.Parent$1.doProcessCSS(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.ParentHelper.processCSS Impl(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.s uperProcessCSSImpl(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.s uperProcessCSS(Unknown Source)
at javafx.controls/javafx.scene.control.Control.doProcessCSS(Un known Source)
at javafx.controls/javafx.scene.control.Control$1.doProcessCSS( Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.p rocessCSSImpl(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(U nknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Scene.doCSSPass(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(Unknow n 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.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul seFromQueue(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lam bda$runToolkit$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Futur e.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$r unLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: 'java.lang.String com.sun.javafx.font.directwrite.DWFactory.regReadFontLink(ja va.lang.String)'
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.re gReadFontLink(Native Method)
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.ge tFallbacks(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getLinkedFon ts(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getNumSlots( Unknown Source)
at javafx.graphics/com.sun.javafx.font.CompositeGlyphMapper.<init >(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getGlyphMapp er(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.shape(Un known Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.layout(U nknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.ensureLa yout(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.getBound s(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.skin.Utils.comp uteTextHeight(Unknown Source)
at javafx.controls/javafx.scene.control.skin.LabeledSkinBase.co mputePrefHeight(Unknown Source)
at javafx.controls/javafx.scene.control.Control.computePrefHeig ht(Unknown Source)
at javafx.graphics/javafx.scene.Parent.prefHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.prefHeight(Unknow n Source)
at javafx.controls/javafx.scene.control.skin.ToolBarSkin.comput ePrefHeight(Unknown Source)
at javafx.controls/javafx.scene.control.skin.ToolBarSkin.comput eMinHeight(Unknown Source)
at javafx.controls/javafx.scene.control.Control.computeMinHeigh t(Unknown Source)
at javafx.graphics/javafx.scene.Parent.minHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.minHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.computeChildMinAr eaHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.GridPane.computeMinHeigh ts(Unknown Source)
at javafx.graphics/javafx.scene.layout.GridPane.computeMinHeigh t(Unknown Source)
at javafx.graphics/javafx.scene.Parent.minHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.minHeight(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.boundedNodeSizeWi thBias(Unknown Source)
at javafx.graphics/javafx.scene.layout.Region.layoutInArea(Unkn own Source)
at javafx.controls/javafx.scene.control.SkinBase.layoutInArea(U nknown Source)
at javafx.controls/javafx.scene.control.SkinBase.layoutInArea(U nknown Source)
at javafx.controls/javafx.scene.control.SkinBase.layoutChildren (Unknown Source)
at javafx.web/javafx.scene.web.HTMLEditorSkin.layoutChildren(Un known Source)
at javafx.controls/javafx.scene.control.Control.layoutChildren( 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(Unknow n 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.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul seFromQueue(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lam bda$runToolkit$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Futur e.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$r unLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: 'java.lang.String com.sun.javafx.font.directwrite.DWFactory.regReadFontLink(ja va.lang.String)'
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.re gReadFontLink(Native Method)
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.ge tFallbacks(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getLinkedFon ts(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getNumSlots( Unknown Source)
at javafx.graphics/com.sun.javafx.font.CompositeGlyphMapper.<init >(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getGlyphMapp er(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.shape(Un known Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.layout(U nknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.ensureLa yout(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.getBound s(Unknown Source)
at javafx.graphics/javafx.scene.text.Text.getLogicalBounds(Unkn own Source)
at javafx.graphics/javafx.scene.text.Text.doComputeGeomBounds(U nknown Source)
at javafx.graphics/javafx.scene.text.Text$1.doComputeGeomBounds (Unknown Source)
at javafx.graphics/com.sun.javafx.scene.shape.TextHelper.comput eGeomBoundsImpl(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.computeGeomB ounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.updateGeomBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.getGeomBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.getLocalBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.updateTxBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.getTransformedBounds(Unkno wn Source)
at javafx.graphics/javafx.scene.Node.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(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(Unknow n 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.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul se(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pul seFromQueue(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lam bda$runToolkit$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Futur e.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$r unLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: 'java.lang.String com.sun.javafx.font.directwrite.DWFactory.regReadFontLink(ja va.lang.String)'
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.re gReadFontLink(Native Method)
at javafx.graphics/com.sun.javafx.font.directwrite.DWFactory.ge tFallbacks(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getLinkedFon ts(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getNumSlots( Unknown Source)
at javafx.graphics/com.sun.javafx.font.CompositeGlyphMapper.<init >(Unknown Source)
at javafx.graphics/com.sun.javafx.font.LogicalFont.getGlyphMapp er(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.shape(Un known Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.layout(U nknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.ensureLa yout(Unknown Source)
at javafx.graphics/com.sun.javafx.text.PrismTextLayout.getBound s(Unknown Source)
at javafx.graphics/javafx.scene.text.Text.getLogicalBounds(Unkn own Source)
at javafx.graphics/javafx.scene.text.Text.doComputeGeomBounds(U nknown Source)
at javafx.graphics/javafx.scene.text.Text$1.doComputeGeomBounds (Unknown Source)
at javafx.graphics/com.sun.javafx.scene.shape.TextHelper.comput eGeomBoundsImpl(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.computeGeomB ounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.updateGeomBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.getGeomBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.getLocalBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.updateTxBounds(Unknown Source)
at javafx.graphics/javafx.scene.Node.getTransformedBounds(Unkno wn Source)
at javafx.graphics/javafx.scene.Node.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(Unknown Source)
at javafx.graphics/javafx.scene.Parent.updateBounds(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)

C:\Program Files\DataWarrior>

Re: error when edit with WYSIWYG in Explanation view [message #2107 is a reply to message #2095] Sat, 20 January 2024 19:04 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 711
Registered: June 2014
Senior Member
I did some Googling and assume that the issue arises from the following:
DataWarrior uses Liberica JRE21 as Java runtime environment. With this newest Liberica version all dlls needed by JavaFX were moved to a different directory, from jre\bin\javafx to jre\bin. Wrongly, Liberica21 tries to access the libraries at the outdated location, where it doesn't find them anymore. Then, it uses some strategy to look at alternative places. It checks whether the dlls can be found at the path defined by the Java variable java.library.path, which is probably constructed from the OS system variable JAVA_HOME, which was set, if there is a system wide Java installation. Thus, if you have an older JRE installed on the system (test with 'java -version'), then Liberica21 will try using JavaFX dlls from there and not its own ones, which are at an unexpected path. If there is no system wide JRE, then Liberica evidently manages to find its own dlls. If there is a system wide JRE21, then it probably works, because those dlls should be compatible.

You can check which dlls are used by starting DataWarrior with:
C:\Program Files\DataWarrior>jre\bin\java -Djavafx.verbose=true -jar datawarrior_all.jar
When you then access a JavaFX component (e.g. the Help Window, the explanation view, or the 3D-molecule viewer), then you see warnings like:

WARNING: java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\DataWarrior\jre\bin\javafx\javafx_font.dll
Loaded C:\Program Files\DataWarrior\jre\bin\javafx_font.dll from java.library.path

I assume that you can fix the issue by copying all files from "C:\Program Files\DataWarrior\jre\bin\javafx\" to "C:\Program Files\DataWarrior\jre\bin\". Please let me know, if this fixes the issue.

[Updated on: Sat, 20 January 2024 19:05]

Report message to a moderator

Re: error when edit with WYSIWYG in Explanation view [message #2111 is a reply to message #2107] Tue, 23 January 2024 10:40 Go to previous messageGo to next message
ksong is currently offline  ksong
Messages: 6
Registered: January 2024
Junior Member
Thanks a lot for the message. Its exactly an dll loading issue.
Here is the verbose log when open DataWarrior with java -jar command:

C:\Program Files\DataWarrior>jre\bin\java -Djavafx.verbose=true -jar datawarrior_all.jar
WARNING: java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\DataWarrior\jre\bin\javafx\api-ms-win-core-console-l1- 1-0.dll
Loaded C:\Program Files\DataWarrior\jre\bin\api-ms-win-core-console-l1-1-0.dll from java.library.path
...

It looks like there is no javafx folder in jre\bin\ on my desktop (I was installing v06 from a v05 update).
I created a new javafx folder, and copy all dlls in jre\bin to the new folder, WYSIWYG window is back normal now. Cheers Smile

Thanks a lot for the help!
Re: error when edit with WYSIWYG in Explanation view [message #2112 is a reply to message #2111] Tue, 23 January 2024 20:39 Go to previous message
thomas is currently offline  thomas
Messages: 711
Registered: June 2014
Senior Member
Thank you for trying and reporting back. I also did some research on my side. Evidently, the problem only exists on Windows. Mac and Linux work fine. To fix this problem on Windows, DataWarrior, when launched, will check and update its own 'java.library.path' VM variable such that this variable will start with the real library path 'C:\Program Files\DataWarrior\jre\bin;'. This way, all libraries loaded later (these are only JavaFX dlls) will be loaded from DataWarrior's internal JRE, no matter which other JREs are installed on the system. The upcoming version 6.1.0 will have it.
Previous Topic: Windows 10 Startup Issues
Next Topic: update reminder in Centos8
Goto Forum:
  


Current Time: Fri Nov 08 23:22:01 CET 2024

Total time taken to generate the page: 0.03672 seconds