sweethome3d fails to launch with NoSuchMethodError: sun.awt.X11GraphicsConfig.getDevice()

Bug #1842506 reported by Joachim R.
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
sweethome3d (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When launching sweethome3d on Ubuntu 19.04, I get:

```
Exception in thread "J3D-Renderer-1" java.lang.NoSuchMethodError: sun.awt.X11GraphicsConfig.getDevice()Lsun/awt/X11GraphicsDevice;
 at javax.media.j3d.X11NativeConfigTemplate3D.isGraphicsConfigSupported(X11NativeConfigTemplate3D.java:181)
 at javax.media.j3d.NativePipeline.isGraphicsConfigSupported(NativePipeline.java:3341)
 at javax.media.j3d.Renderer.doWork(Renderer.java:533)
 at javax.media.j3d.J3dThread.run(J3dThread.java:275)
```

Tested with java-8-openjdk-amd64 and java-11-openjdk-amd64 akternatives, but it doesn't change anything.

The application GUI doesn't launch. If launching using terminal, the java process don't shutdown without explicit SIGTERM.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: sweethome3d 6.1.2+dfsg-2
ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
Uname: Linux 5.0.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 3 21:42:06 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-08-02 (2587 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: sweethome3d
UpgradeStatus: Upgraded to disco on 2019-05-05 (121 days ago)

Revision history for this message
Joachim R. (jro) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sweethome3d (Ubuntu):
status: New → Confirmed
Revision history for this message
antgel (antgel) wrote :

Happens here too on 18.10LTS.

Revision history for this message
Rolf Leggewie (r0lf) wrote :
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.