← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2077699] Re: Symbola Causes Java platName Nullpointer

 

** Package changed: ubuntu => ttf-ancient-fonts (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to ttf-ancient-fonts in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/2077699

Title:
  Symbola Causes Java platName Nullpointer

Status in ttf-ancient-fonts package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ttf-ancient-fonts/+bug/2077699/+subscriptions