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

getSupportedAttributeValues() throws NPE for Finishings attribute

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b15
    • OS:
      linux

      Description

      Regression Manual Test which checks Printer Supported Attributes Fails.
      Testsuite Name : Regression manual
      Test Name(s) : javax/print/attribute/AllSupportedValues/PrintValues.java
      Product Tested : JDK-17+9
      Platform Tested : OEL 8.3
      Is it regression : No
      Reproducible: Always

      JDK 16.0.1+7 on OEL 8.3 : FAILED
      JDK 11.0.11+7 on OEL 8.3 : FAILED
      JDK 11.0.10+8 (GAC) on OEL 8.3 : FAILED

      JDK 8u291b08 on OEL 8.3 : FAILED
      JDK 8u281b09 (GAC) on OEL 8.3 : FAILED

      JDK 7u301b07 on OEL 8.3 : FAILED
      JDK 7u291b09 (GAC) on OEL 8.3 : FAILED

      Is it Platform specific : YES , Passed on Windows10 with JDK-17+9 (With same printer configured)

      Exception/Error from Log: Attached Failure case jtr File

      When running the PrintValues.java , javax.print.attribute.standard.Finishings supported returns TRUE , but querying the sun.print.IPPPrintService.getSupportedAttributeValues API passing Finishings leads to Null Pointer Exception.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prr Philip Race
              Reporter:
              mbollapragad Maheshkumar Bollapragada
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: