Symbola Causes Java platName Nullpointer
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.
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/
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://
500 https:/
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: fonts-symbola 2.60-1.1
ProcVersionSign
Uname: Linux 6.8.0-41-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Thu Aug 22 23:11:37 2024
Dependencies:
PackageArchitec
SourcePackage: ttf-ancient-fonts
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubuntu → ttf-ancient-fonts (Ubuntu) |