Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8206106

[solaris sparc] jck tests api/javax_print/PrintService failing

XMLWordPrintable

    • b22
    • sparc_64
    • solaris

        We see a row of jck tests failing with

        java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter

        We are running the tests on solaris 5.11.

        api/javax_print/PrintService/index.html#addRmPSAttrListener
        api/javax_print/PrintService/index.html#createPrintJob
        api/javax_print/PrintService/index.html#equals
        api/javax_print/PrintService/index.html#getAttribute
        api/javax_print/PrintService/index.html#getAttributes
        api/javax_print/PrintService/index.html#getDefaultAttrValue
        api/javax_print/PrintService/index.html#getName
        api/javax_print/PrintService/index.html#getServiceUIFactory
        api/javax_print/PrintService/index.html#getSuppAttrCategories
        api/javax_print/PrintService/index.html#getSuppAttrValues
        api/javax_print/PrintService/index.html#getSuppDocFlavors
        api/javax_print/PrintService/index.html#getUnsuppAttr
        api/javax_print/PrintService/index.html#hashCode
        api/javax_print/PrintService/index.html#isAttrCatSupported
        api/javax_print/PrintService/index.html#isAttrValueSupported
        api/javax_print/PrintServiceLookup/index.html#lookup
        api/javax_print/ServiceUIFactory/index.html#fields
        api/javax_print/ServiceUIFactory/index.html#getUI
        api/javax_print/ServiceUIFactory/index.html#getUIClass

        ----- messages -----
        command: com.sun.javatest.agent.ActiveAgentCommand -commandTimeout 2400 -mapArgs com.sun.jck.lib.ExecInSeparateThreadCmd -timeout 2400 com.sun.jck.lib.ExecJCKTestSameJVMCmd -loadDir /net/sapmnt.hs0131.q_hs0131/jck/jck11/JCK-runtime-11/classes: -loadImpl classes javasoft.sqe.tests.api.javax.print.PrintService.addRmPSAttrListenerTests -TestCaseID ALL

        ----- out1 -----
        java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
        at java.desktop/sun.print.PrintServiceLookupProvider.getDefaultPrintService(PrintServiceLookupProvider.java:648)
        at java.desktop/javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:206)
        at javasoft.sqe.tests.api.javax.print.PrintService.addRmPSAttrListenerTests.addRmPSAttrListener001(addRmPSAttrListenerTests.java:38)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:404)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:193)
        at jdk.internal.reflect.GeneratedMethodAccessor7841.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:566)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:523)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:407)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:337)
        at com.sun.jck.lib.ExecInSeparateThreadCmd$StatusCallable.call(ExecInSeparateThreadCmd.java:76)
        at com.sun.jck.lib.ExecInSeparateThreadCmd$StatusCallable.call(ExecInSeparateThreadCmd.java:60)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: java.lang.UnsatisfiedLinkError: sun.print.CUPSPrinter.initIDs()Z
        at java.desktop/sun.print.CUPSPrinter.initIDs(Native Method)
        at java.desktop/sun.print.CUPSPrinter.(CUPSPrinter.java:91)
        at java.desktop/sun.print.PrintServiceLookupProvider.getDefaultPrintService(PrintServiceLookupProvider.java:648)
        at java.desktop/sun.print.PrintServiceLookupProvider.refreshServices(PrintServiceLookupProvider.java:278)
        at java.desktop/sun.print.PrintServiceLookupProvider$PrinterChangeListener.run(PrintServiceLookupProvider.java:945)
        ... 1 more
        addRmPSAttrListener001: Failed. Test case throws exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
        java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
        at java.desktop/sun.print.PrintServiceLookupProvider.getDefaultPrintService(PrintServiceLookupProvider.java:648)
        at java.desktop/javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:206)
        at javasoft.sqe.tests.api.javax.print.PrintService.addRmPSAttrListenerTests.addRmPSAttrListener003(addRmPSAttrListenerTests.java:56)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:404)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:193)
        at jdk.internal.reflect.GeneratedMethodAccessor7841.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:566)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:523)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:407)
        at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:337)
        at com.sun.jck.lib.ExecInSeparateThreadCmd$StatusCallable.call(ExecInSeparateThreadCmd.java:76)
        at com.sun.jck.lib.ExecInSeparateThreadCmd$StatusCallable.call(ExecInSeparateThreadCmd.java:60)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: java.lang.UnsatisfiedLinkError: sun.print.CUPSPrinter.initIDs()Z
        at java.desktop/sun.print.CUPSPrinter.initIDs(Native Method)
        at java.desktop/sun.print.CUPSPrinter.(CUPSPrinter.java:91)
        at java.desktop/sun.print.PrintServiceLookupProvider.getDefaultPrintService(PrintServiceLookupProvider.java:648)
        at java.desktop/sun.print.PrintServiceLookupProvider.refreshServices(PrintServiceLookupProvider.java:278)
        at java.desktop/sun.print.PrintServiceLookupProvider$PrinterChangeListener.run(PrintServiceLookupProvider.java:945)
        ... 1 more
        addRmPSAttrListener003: Failed. Test case throws exception: java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter


              prr Philip Race
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: