Package: sun-java5-jre
Version: 1.5.0-17-0.1
Severity: important

When i used sample from http://java.sun.com/docs/books/tutorial/2d/printing/examples/PrintDialogExample.java in sun-java5-jre application crashed with error (see below). But when i run it with java from openjdk-6-jre it run success.

Crash report from java 1.5:

Exception in thread "main" java.lang.NullPointerException: null attribute
at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1100) at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2092) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1234)
   at sun.print.ServiceDialog.initPageDialog(ServiceDialog.java:264)
   at sun.print.ServiceDialog.<init>(ServiceDialog.java:241)
   at sun.print.RasterPrinterJob.pageDialog(RasterPrinterJob.java:645)
   at PrintDialogExample.main(PrintDialogExample.java:70)

-- System Information:
Debian Release: 5.0
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sun-java5-jre depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii  java-common                 0.30         Base of all Java packages
ii locales 2.7-18 GNU C Library: National Language ( ii sun-java5-bin 1.5.0-17-0.1 Sun Java(TM) Runtime Environment (

Versions of packages sun-java5-jre recommends:
ii gsfonts-x11 0.21 Make Ghostscript fonts available t
ii  java-common                   0.30       Base of all Java packages

Versions of packages sun-java5-jre suggests:
ii sun-java5-fonts 1.5.0-17-0.1 Lucida TrueType fonts (from the Su
pn  sun-java5-plugin | ia32 <none>           (no description available)
ii ttf-arphic-uming 0.2.20080216.1-1 "AR PL UMing" Chinese Unicode True
ii  ttf-baekmuk             2.2-2            Baekmuk series TrueType fonts
ii ttf-kochi-gothic 1.0.20030809-8 Kochi Subst Gothic Japanese TrueTy ii ttf-kochi-mincho 1.0.20030809-8 Kochi Subst Mincho Japanese TrueTy ii ttf-sazanami-mincho 20040629-2 Sazanami Mincho Japanese TrueType

-- debconf information:
* shared/accepted-sun-dlj-v1-1: true
 sun-java5-jre/jcepolicy:
 sun-java5-jre/stopthread: true
 shared/error-sun-dlj-v1-1:
* shared/present-sun-dlj-v1-1:



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to