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

REGRESSION: AWT_Merlin_WS/Printing/src/PageDimandRes fails

XMLWordPrintable

    • 2d
    • generic
    • generic

      JDK : JDK1.5.0 b5-b10 (pass in JDK1.5.0 b3,b4, JDK142)
      Platform[s] : Sparc10, Windows 2003, AS21, IA8
      switch/Mode : -cleint -Xmixed, -server -Xmixed
      test harness : tonga 1.2 (53)
      testbase : /net/cady/export/dtf/unified/knight-ws/suites/awt/testbase
      Falling test[s]: AWT_Merlin_WS/Printing/src/PageDimandRes/PageDimandResTest.html

      PageDimandResTest.java & PageDimandResTest.tlog are attached.

      error messages on SolSparc 10/Windows 2003:
      ======================================
      java.lang.RuntimeException: <br> When the paper is set to invite-envelope it is not giving the correct page dimensions -- expected: 8.6613x8.6613 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-2a0 it is not giving the correct page dimensions -- expected: 46.81x66.22 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-4a0 it is not giving the correct page dimensions -- expected: 66.22x93.62 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c0 it is not giving the correct page dimensions -- expected: 36.1022x51.0628 actual: java.awt.Dimension[width=612,height=792]<br> When the paper is set to iso-c1 it is not giving the correct page dimensions -- expected: 25.5117x36.1022 actual: java.awt.Dimension[width=612,height=792]<br> When the paper is set to iso-c10 it is not giving the correct page dimensions -- expected: 1.1023x1.5747 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c2 it is not giving the correct page dimensions -- expected: 18.0314x25.5117 actual: java.awt.Dimension[width=612,height=792]<br> When the paper is set to iso-c7 it is not giving the correct page dimensions -- expected: 3.1889x4.4881 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c8 it is not giving the correct page dimensions -- expected: 2.244x3.1889 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c9 it is not giving the correct page dimensions -- expected: 1.5747x2.244 actual: java.awt.Dimension[width=2919,height=4127]
              at PageDimandResTest.start(PageDimandResTest.java:75)
              at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
              at java.lang.Thread.run(Thread.java:534)
      STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: <br> When the paper is set to invite-envelope it is not giving the correct page dimensions -- expected: 8.6613x8.6613 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-2a0 it is not giving the correct page dimensions -- expected: 46.81x66.22 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-4a0 it is not giving the correct page dimensions -- expected: 66.22x93.62 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c0 it is not giving the correct page dimensions -- expected: 36.1022x51.0628 actual: java.awt.Dimension[width=612,height=792]<br> When the paper is set to iso-c1 it is not giving the correct page dimensions -- expected: 25.5117x36.1022 actual: java.awt.Dimension[width=612,height=792]<br> When the paper is set to iso-c10 it is not giving the correct page dimensions -- expected: 1.1023x1.5747 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c2 it is not giving the correct page dimensions -- expected: 18.0314x25.5117 actual: java.awt.Dimension[width=612,height=792]<br> When the paper is set to iso-c7 it is not giving the correct page dimensions -- expected: 3.1889x4.4881 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c8 it is not giving the correct page dimensions -- expected: 2.244x3.1889 actual: java.awt.Dimension[width=2919,height=4127]<br> When the paper is set to iso-c9 it is not giving the correct page dimensions -- expected: 1.5747x2.244 actual: java.awt.Dimension[width=2919,height=4127]

      error messages on AS21:
      =========================
      Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
      java.lang.NullPointerException
              at sun.print.PrintJob2D.printDialog(PrintJob2D.java:430)
              at sun.awt.motif.MToolkit.getPrintJob(MToolkit.java:444)
              at DimAndResTest.testDimandResTest(PageDimandResTest.java:148)
              at DimAndResTest.test(PageDimandResTest.java:106)
              at DimAndResTest.<init>(PageDimandResTest.java:91)
              at PageDimandResTest.start(PageDimandResTest.java:73)
              at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
              at java.lang.Thread.run(Thread.java:534)
      STATUS:Failed.Applet thread threw exception: java.lang.NullPointerException

      ###@###.### 2003-07-17

            jgodinez Jennifer Godinez (Inactive)
            schien Suchen Chien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: