(name . bug-guix)(address . bug-guix@gnu.org)
I realized I forgot to submit a bug report for this after I posted on
help-guix a while back, and looks like it's still an issue, so... I get
a null pointer exception when attempting to run any Java application
that uses fonts. I've attached an example of the error output I get,
and you can find more info in this thread:
jfred@lambdacrypt ~/Downloads/pcgen$ java -jar pcgen.jar
11:52:16.300 INFO main Main:138 Starting PCGen v6.08.00 RC6
11:52:16.390 INFO main LanguageBundle:134 Initialising language bundle with locale en_US.
11:52:16.631 SEVERE main Main:484 Uncaught error - ignoring
java.lang.InternalError: java.lang.reflect.InvocationTargetException
at java.desktop/sun.font.FontManagerFactory$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/sun.font.FontManagerFactory.getInstance(Unknown Source)
at java.desktop/sun.font.FontUtilities.getFontConfigFUIR(Unknown Source)
at java.desktop/javax.swing.plaf.nimbus.NimbusDefaults.<init>(Unknown Source)
at java.desktop/javax.swing.plaf.nimbus.NimbusLookAndFeel.<init>(Unknown Source)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.ReflectAccess.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(Unknown Source)
at java.base/java.lang.Class.newInstance(Unknown Source)
at java.desktop/javax.swing.UIManager.setLookAndFeel(Unknown Source)
at pcgen.gui2.plaf.LookAndFeelManager.setLookAndFeel(LookAndFeelManager.java:231)
at pcgen.gui2.plaf.LookAndFeelManager.initLookAndFeel(LookAndFeelManager.java:151)
at pcgen.system.Main.configureUI(Main.java:273)
at pcgen.system.Main.startupWithGUI(Main.java:228)
at pcgen.system.Main.main(Main.java:157)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
... 19 more
Caused by: java.lang.NullPointerException
at java.desktop/sun.awt.FontConfiguration.getVersion(Unknown Source)
at java.desktop/sun.awt.FontConfiguration.readFontConfigFile(Unknown Source)
at java.desktop/sun.awt.FontConfiguration.init(Unknown Source)
at java.desktop/sun.awt.X11FontManager.createFontConfiguration(Unknown Source)
at java.desktop/sun.font.SunFontManager$2.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/sun.font.SunFontManager.<init>(Unknown Source)
at java.desktop/sun.awt.FcFontManager.<init>(Unknown Source)
at java.desktop/sun.awt.X11FontManager.<init>(Unknown Source)
... 24 more