-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
generic
-
solaris_10
Nightly 2D Regression suite reporting failures with regression test:
java/awt/print/PrinterJob/HeadlessPrintingTest.java
- The regression test is failing on Solaris-sparc and Linux platforms (no failure seen on WinXP)
- Assigning to classes_2d for initial evaluation (may be classes_awt issue). 2D integrated into Mustang B45 but the test passes with 2d PIT build.
- The bug is introduced with Mustang B45 as it is not reproducible with B44.
- Below is exception seen from Solaris-sparc 10:
----------System.err:(32/2125)----------
java.lang.UnsatisfiedLinkError: isDgaAvailable
at sun.java2d.x11.X11SurfaceData.isDgaAvailable(Native Method)
at sun.awt.X11.XToolkit.setBackingStoreType(XToolkit.java:1695)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:101)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.Toolkit$2.run(Toolkit.java:819)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:811)
at sun.print.CUPSPrinter.<clinit>(CUPSPrinter.java:51)
at sun.print.UnixPrintServiceLookup.getDefaultPrintService(UnixPrintServiceLookup.java:496)
at sun.print.UnixPrintServiceLookup.refreshServices(UnixPrintServiceLookup.java:180)
at sun.print.UnixPrintServiceLookup$PrinterChangeListener.run(UnixPrintServiceLookup.java:726)
STATUS:Failed.`main' threw exception: java.lang.UnsatisfiedLinkError: isDgaAvailable
java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
at sun.print.UnixPrintServiceLookup.getDefaultPrintService(UnixPrintServiceLookup.java:496)
at javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:166)
at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:429)
at sun.print.RasterPrinterJob.defaultPage(RasterPrinterJob.java:1503)
at sun.print.RasterPrinterJob.setPrintable(RasterPrinterJob.java:954)
at HeadlessPrintingTest.main(HeadlessPrintingTest.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:608)
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
java/awt/print/PrinterJob/HeadlessPrintingTest.java
- The regression test is failing on Solaris-sparc and Linux platforms (no failure seen on WinXP)
- Assigning to classes_2d for initial evaluation (may be classes_awt issue). 2D integrated into Mustang B45 but the test passes with 2d PIT build.
- The bug is introduced with Mustang B45 as it is not reproducible with B44.
- Below is exception seen from Solaris-sparc 10:
----------System.err:(32/2125)----------
java.lang.UnsatisfiedLinkError: isDgaAvailable
at sun.java2d.x11.X11SurfaceData.isDgaAvailable(Native Method)
at sun.awt.X11.XToolkit.setBackingStoreType(XToolkit.java:1695)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:101)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.Toolkit$2.run(Toolkit.java:819)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:811)
at sun.print.CUPSPrinter.<clinit>(CUPSPrinter.java:51)
at sun.print.UnixPrintServiceLookup.getDefaultPrintService(UnixPrintServiceLookup.java:496)
at sun.print.UnixPrintServiceLookup.refreshServices(UnixPrintServiceLookup.java:180)
at sun.print.UnixPrintServiceLookup$PrinterChangeListener.run(UnixPrintServiceLookup.java:726)
STATUS:Failed.`main' threw exception: java.lang.UnsatisfiedLinkError: isDgaAvailable
java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
at sun.print.UnixPrintServiceLookup.getDefaultPrintService(UnixPrintServiceLookup.java:496)
at javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:166)
at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:429)
at sun.print.RasterPrinterJob.defaultPage(RasterPrinterJob.java:1503)
at sun.print.RasterPrinterJob.setPrintable(RasterPrinterJob.java:954)
at HeadlessPrintingTest.main(HeadlessPrintingTest.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:608)
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
- duplicates
-
JDK-6297269 test/java/awt/Toolkit/HeadlessImage failed
- Resolved