Bug#607641: sun-java6-jdk: NoClassDefFoundError for sun.awt.image.ToolkitImage after upgrading Java to 6-22-0lenny1

Christian Nedregård kranium at kranium.no
Mon Dec 20 14:06:58 UTC 2010


Package: sun-java6-jdk
Version: 6-22-0lenny1
Severity: normal


Problem appeared after the following Java upgrade (using aptitude): 
2010-11-29 21:58:59 upgrade sun-java6-jdk 6-20-0lenny1 6-22-0lenny1
2010-11-29 21:59:01 upgrade sun-java6-bin 6-20-0lenny1 6-22-0lenny1
2010-11-29 21:59:04 upgrade sun-java6-jre 6-20-0lenny1 6-22-0lenny1

Loading Images via java.awt.Toolkit.getDefaultToolkit().getImage() seems to have stopped working after the upgrade:

java.lang.NoClassDefFoundError: Could not initialize class sun.awt.image.ToolkitImage
	sun.awt.SunToolkit.createImage(SunToolkit.java:936)
	sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:876)
	sun.awt.SunToolkit.getImage(SunToolkit.java:885)
	sun.awt.HeadlessToolkit.getImage(HeadlessToolkit.java:346)


-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sun-java6-jdk depends on:
ii  debconf [debconf-2.0]       1.5.24       Debian configuration management sy
ii  libc6                       2.7-18lenny6 GNU C Library: Shared libraries
ii  libx11-6                    2:1.1.5-2    X11 client-side library
ii  sun-java6-bin               6-22-0lenny1 Sun Java(TM) Runtime Environment (

sun-java6-jdk recommends no packages.

Versions of packages sun-java6-jdk suggests:
pn  sun-java6-demo                <none>     (no description available)
pn  sun-java6-doc                 <none>     (no description available)
pn  sun-java6-source              <none>     (no description available)

-- debconf information:
* shared/accepted-sun-dlj-v1-1: true
  shared/error-sun-dlj-v1-1:
* shared/present-sun-dlj-v1-1:





More information about the pkg-java-maintainers mailing list