Export to Excel fails with unexpected error with linux installation
Some of the libraries require font and graphics support
If any user cannot export any dictionary and in TermWeb logs you see following error:
Caused by: com.nescit.BaseException: java.lang.NullPointerException at
com.nescit.term.extern.ExportRunner.run(ExportRunner.java:40) at
java.lang.Thread.run(Thread.java:750) Caused by: java.lang.NullPointerException at
sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) at
sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219) at
sun.awt.FontConfiguration.init(FontConfiguration.java:107) at
sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774) at
sun.font.SunFontManager$2.run(SunFontManager.java:441) at
java.security.AccessController.doPrivileged(Native Method) at
Then it means your server doesn’t have installed X11 Window system.
Solution
You need to find instructions for your Linux distribution how to install X11/xorg server.
For example for distributions with YUM as package manager you need to run following command:
sudo yum install xorg openbox
Restart Tomcat with TermWeb.
Probably you may need to restart operating system too to apply all changes.