Symbola Causes Java platName Nullpointer

Bug #2077699 reported by m1st0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ttf-ancient-fonts (Ubuntu)
New
Undecided
Unassigned

Bug Description

A few Java programs have issues with the package fonts-symbola. While projects like Eclipse did not, and Jetbrains, Android Studio, and Netbeans did.
• It does not seem product facing but instead package facing due to trying to run certain code even under a jshell session.
• It does not seem to come directly from a Java version due to multiple versions being affected. 21 and 17 were used. Although user code may be improved to work around this error, it seems a simple removal of the package fixes the issue as shown below.

Attached are 3 crash logs in text format. Each of the different instances fail due to font issues with fonts-symbola. The exception Java runs into is:

Caused by: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "platName" is null

I expect that Java should not have font issues against a addition or removal of a font, and is determined not to be by a specific product but even code running in the jshell_crash.txt file itself which shows the cleanest demonstration of the bug.
The following fixes the error in Java UIs:
• sudo apt purge fonts-symbola.
• sudo rm -rf /var/cache/fontconfig/ && sudo fc-cache -f -v

LSB description: Ubuntu 24.04 LTS
Release: 24.04
Package info:
• fonts-symbola:
  Installed: 2.60-1.1
  Candidate: 2.60-1.1
  Version table:
 *** 2.60-1.1 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        500 https://mirrors.ocf.berkeley.edu/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: fonts-symbola 2.60-1.1
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Thu Aug 22 23:11:37 2024
Dependencies:

PackageArchitecture: all
SourcePackage: ttf-ancient-fonts
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
m1st0 (m1st0) wrote :
Revision history for this message
m1st0 (m1st0) wrote :
Revision history for this message
m1st0 (m1st0) wrote :
description: updated
summary: - Symbola Causes Java platName nullpointer
+ Symbola Causes Java platName Nullpointer
Paul White (paulw2u)
affects: ubuntu → ttf-ancient-fonts (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.