← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2077699] [NEW] Symbola Causes Java platName Nullpointer

 

You have been subscribed to a public bug:

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)

** Affects: ttf-ancient-fonts (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug java noble platname symbola
-- 
Symbola Causes Java platName Nullpointer
https://bugs.launchpad.net/bugs/2077699
You received this bug notification because you are a member of Ubuntu Studio Bugs, which is subscribed to ttf-ancient-fonts in Ubuntu.