Public bug reported:

I installed SW3D from the latest website version. I tried from the
desktop icon and the terminal and got a Null Pointer Exception (see
output below).

I was running version 7.5 on the same machine under Debian_MX-Linux 21 with 
XFCE without problem.
I tried the snap version from the Ubuntu repository. It works but is outdated 
version 6.6 and does not open correctly models created with version 7.5. The 
flatpak version 7.5 found here 
https://flathub.org/en/apps/com.sweethome3d.Sweethome3d doesn't work either 
(files not found and null pointer exception).

Tried other versions of Java without success.

Reference for more details
https://www.sweethome3d.com/support/forum/viewthread_thread,14505;jsessionid=32B4A57A9BE8BC11AFC242065F372A07.web-
prod-2

./SweetHome3D-Java3D-1_5_2
-e 
# List Sweet Home 3D script 
====================================================================

./SweetHome3D-Java3D-1_5_2
#!/bin/sh

echo -e "\n# List Sweet Home 3D script 
====================================================================\n"
echo $0
cat $0

# Retrieve Sweet Home 3D directory
PROGRAM=`readlink "$0"`
if [ "$PROGRAM" = "" ]; then
  PROGRAM=$0
fi
PROGRAM_DIR=`dirname "$PROGRAM"`

# Original RUNTIME setting
RUNTIME="$PROGRAM_DIR"/runtime
# Change "$PROGRAM_DIR"/runtime to /usr/java/jre1.8.0_481 in 
~/SweetHome3D-7.5/SweetHome3D-Java3D-1_5_2
#RUNTIME=/usr/java/jre1.8.0_481
# Change "$PROGRAM_DIR"/runtime to /usr/lib/jvm/java-21-openjdk-amd64 in 
~/SweetHome3D-7.5/SweetHome3D-Java3D-1_5_2
#RUNTIME=/usr/lib/jvm/java-21-openjdk-amd64

# Run Sweet Home 3D
echo -e "\n#  Run Sweet Home 3D 
====================================================================\n"

exec "$RUNTIME"/bin/java -Xmx2g -classpath 
"$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/jeksparser-calculator.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1c.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/j3dcore.jar:"$PROGRAM_DIR"/lib/j3dutils.jar:"$PROGRAM_DIR"/lib/vecmath.jar:"$PROGRAM_DIR"/lib/jnlp.jar
 -Djava.library.path="$PROGRAM_DIR"/lib:"$PROGRAM_DIR"/lib/yafaray 
-Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer 
com.eteks.sweethome3d.SweetHome3D -open "$1"
-e 
#  Run Sweet Home 3D 
====================================================================

Java 3D: implicit antialiasing enabled
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at 
sun.awt.X11FontManager.getFileNameFromPlatformName(X11FontManager.java:174)
        at sun.font.SunFontManager.initCompositeFonts(SunFontManager.java:3481)
        at sun.font.SunFontManager.access$700(SunFontManager.java:65)
        at sun.font.SunFontManager$2.run(SunFontManager.java:545)
(etc...)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.27
ProcVersionSignature: Ubuntu 6.14.0-37.37~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-37-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Tue Jan 27 14:40:26 2026
InstallationDate: Installed on 2025-11-11 (77 days ago)
InstallationMedia: Kubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2139244

Title:
  Null Pointer Exception in Sweet Home 3D Design Software with KDE and
  Java

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2139244/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to