From: Jonathan Frederickson <jonathan@terracrypt.net>
To: 41177@debbugs.gnu.org
Subject: bug#41177: Fontconfig issues in Java applications that use fonts
Date: Sun, 10 May 2020 11:55:37 -0400 [thread overview]
Message-ID: <1589126137.10294.0@terracrypt.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
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:
https://lists.gnu.org/archive/html/help-guix/2019-11/msg00122.html
[-- Attachment #2: javanpe.txt --]
[-- Type: text/plain, Size: 2922 bytes --]
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
next reply other threads:[~2020-05-10 15:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-10 15:55 Jonathan Frederickson [this message]
2021-01-03 14:48 ` bug#41177: Fontconfig issues in Java applications that use fonts Fabien SK
2021-01-06 11:05 ` Ludovic Courtès
2021-02-02 9:11 ` Björn Höfling
2021-02-11 23:23 ` Björn Höfling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1589126137.10294.0@terracrypt.net \
--to=jonathan@terracrypt.net \
--cc=41177@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).