Installation dialog box

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Tomasz
Posts: 4
Joined: Wed Jul 20, 2022 2:35 pm

Installation dialog box

Post by Tomasz »

Hello Support,
I have weird problem. I try to install program but I do not know what is in dialog box.
I use Linux Fedora 37 with Gnome 42.2.
I tested installation under different Linux systems and it seems that the problem is probably by settings in installation or in WindowManager.
Can you confirm under which Linux OS it goes correct or how/what should I change to see dialogs?
Without any problem installation goes in Windows 10.
Screenshot from 2022-07-20 13-18-32.png
Screenshot from 2022-07-20 13-18-32.png (47.76 KiB) Viewed 1594 times
Tomasz
Posts: 4
Joined: Wed Jul 20, 2022 2:35 pm

Re: Installation dialog box

Post by Tomasz »

The same with sudo ...
Tomasz
Posts: 4
Joined: Wed Jul 20, 2022 2:35 pm

Re: Installation dialog box

Post by Tomasz »

[sudo] password for tomasz:
Unpacking JRE ...
Starting Installer ...
Gtk-Message: 14:04:50.535: Failed to load module "pk-gtk-module"


Exception:
java.lang.ArithmeticException: / by zero
at com.install4j.runtime.alert.DefaultAlertDialog.init(DefaultAlertDialog.java:75)
at com.install4j.runtime.alert.DefaultAlertDialog.show(DefaultAlertDialog.java:42)
at com.install4j.runtime.alert.DefaultAlert.showInternal(DefaultAlert.java:11)
at com.install4j.runtime.alert.Alert.show(Alert.java:122)
at com.install4j.runtime.installer.frontend.GUIHelper.showMessageInternal(GUIHelper.java:259)
at com.install4j.runtime.installer.frontend.GUIHelper.lambda$showMessage$1(GUIHelper.java:234)
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:435)
at com.install4j.runtime.installer.frontend.GUIHelper.showMessage(GUIHelper.java:234)
at com.install4j.runtime.installer.frontend.GUIHelper.showMessage(GUIHelper.java:220)
at com.install4j.runtime.installer.frontend.GUIHelper.showBrowserError(GUIHelper.java:342)
at com.install4j.runtime.installer.frontend.GUIHelper.showURL(GUIHelper.java:270)
at com.install4j.runtime.installer.helper.InstallerUtil.lambda$reportException$0(InstallerUtil.java:1341)
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:435)
at com.install4j.runtime.installer.helper.InstallerUtil.reportException(InstallerUtil.java:1327)
at com.install4j.runtime.installer.frontend.GUIHelper.showMessage(GUIHelper.java:236)
at com.install4j.runtime.installer.frontend.GUIHelper.showMessage(GUIHelper.java:220)
at com.install4j.runtime.installer.frontend.GUIHelper.showBrowserError(GUIHelper.java:342)
at com.install4j.runtime.installer.frontend.GUIHelper.showURL(GUIHelper.java:270)
at com.install4j.runtime.installer.helper.InstallerUtil.lambda$reportException$0(InstallerUtil.java:1341)
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:435)
at com.install4j.runtime.installer.helper.InstallerUtil.reportException(InstallerUtil.java:1327)
at com.install4j.runtime.installer.frontend.GUIHelper.showMessage(GUIHelper.java:236)
at com.install4j.runtime.installer.frontend.GUIHelper.showMessage(GUIHelper.java:220)
at com.install4j.runtime.installer.frontend.GUIHelper.showBrowserError(GUIHelper.java:342)
at com.install4j.runtime.installer.frontend.GUIHelper.showURL(GUIHelper.java:270)
at com.install4j.runtime.installer.helper.InstallerUtil.lambda$reportException$0(InstallerUtil.java:1341)
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:435)
at com.install4j.runtime.installer.helper.InstallerUtil.reportException(InstallerUtil.java:1327)
at com.install4j.runtime.installer.frontend.GUIHelper.showOptionDialog(GUIHelper.java:159)
at com.install4j.runtime.installer.frontend.GUIHelper.confirmCancel(GUIHelper.java:326)
at com.install4j.runtime.installer.frontend.WizardScreenExecutor.lambda$cancel$3(WizardScreenExecutor.java:447)
at com.install4j.runtime.installer.ContextImpl.runWithSuspendedActionsInt(ContextImpl.java:75)
at com.install4j.runtime.installer.ContextImpl.runWithSuspendedActions(ContextImpl.java:876)
at com.install4j.runtime.installer.frontend.WizardScreenExecutor.cancel(WizardScreenExecutor.java:446)
at com.install4j.runtime.wizard.WizardBase$1.windowClosing(WizardBase.java:231)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.Window.processWindowEvent(Window.java:2054)
at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
at java.awt.Window.processEvent(Window.java:2013)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

System properties:

java.runtime.name=Java(TM) SE Runtime Environment
exe4j.moduleName=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh
sun.boot.library.path=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/amd64
java.vm.version=25.202-b08
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=:
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
user.country=US
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=unknown
install4j.exeDir=/home/tomasz/Documents/
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir
java.runtime.version=1.8.0_202-b08
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/endorsed
os.arch=amd64
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Oracle Corporation
jdk.http.auth.tunneling.disabledSchemes=
os.name=Linux
exe4j.totalDataLength=201707156
sun.jnu.encoding=UTF-8
java.library.path=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/user::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
jdk.lang.Process.allowAmbiguousCommands=false
sun.awt.enableExtraMouseButtons=true
install4j.launcherId=5867
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
os.version=5.19.0-0.rc7.53.fc37.x86_64
install4j.swt=false
flatlaf.useWindowDecorations=false
install4j.cwd=/home/tomasz/Documents
user.home=/root
user.timezone=Europe/Berlin
java.awt.printerjob=sun.print.PSPrinterJob
install4j.jvmDir=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre
file.encoding=UTF-8
java.specification.version=1.8
java.net.useSystemProxies=true
java.class.path=i4jruntime.jar:launcher0.jar
user.name=root
java.vm.specification.version=1.8
sun.java.command=install4j.Installer3270621973
java.home=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre
sun.arch.data.model=64
user.language=en
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.X11.XToolkit
java.vm.info=mixed mode
java.version=1.8.0_202
java.ext.dirs=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/ext:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/jre/lib/ext
sun.boot.class.path=/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/resources.jar:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/rt.jar:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/sunrsasign.jar:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/jsse.jar:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/jce.jar:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/charsets.jar:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/lib/jfr.jar:/home/tomasz/Documents/oxygenxml-web-author-64bit.sh.7752.dir/jre/classes
install4j.appDir=/home/tomasz/Documents/
java.vendor=Oracle Corporation
file.separator=/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
sun.font.fontmanager=sun.awt.X11FontManager
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
install4j.systemLanguage=en
sun.cpu.isalist=
Screenshot from 2022-07-20 14-01-42.png
Screenshot from 2022-07-20 14-01-42.png (113.01 KiB) Viewed 1588 times
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Installation dialog box

Post by adrian »

Hello,

That looks like a Look and Feel or font issue between Oracle Java SE 8 (bundled with the installer) and Fedora/Gnome. Perhaps the font that the installer tries to use is not available on the system, or there's some font rendering issue.
We test the Oxygen installers with Ubuntu LTS versions (20 and 22 at this time) with Gnome and we have not encountered such issues.

Possible workarounds:
1. Run the installer with the default (non-native) Java L&F:

Code: Select all

./oxygenxml-web-author-64bit.sh -Dinstall4j.nolaf=true
The UI looks very different. It uses the Metal L&F instead of GTK.

2. Run the installer in console mode:

Code: Select all

./oxygenxml-web-author-64bit.sh -c
This no longer shows the GUI wizard, but runs in text mode in the console.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Tomasz
Posts: 4
Joined: Wed Jul 20, 2022 2:35 pm

Re: Installation dialog box

Post by Tomasz »

Adrian, thank you so much for quick reaction.
It works now correct with these 2 options on Fedora 37.
So I can confirm - it is installed without any problems.
I do not know how many people have similar problem - but maybe it is good idea to add these 2 lines to "command line information box".
In between I test Fedora 37 and have to do some work with Oxygen Web Author, so I will come back if I will find any interesting bugs.
All the best
Tomasz
Screenshot from 2022-07-21 13-59-38.png
Screenshot from 2022-07-21 13-59-38.png (21.02 KiB) Viewed 1531 times
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Installation dialog box

Post by adrian »

I've submitted a documentation issue to add these to an FAQ section.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply