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

After clicking the "Print" button,the case PrintWithoutPrinterTest.html crashes in jdk7 b98.

XMLWordPrintable

    • 2d
    • b74
    • 7
    • x86
    • linux_redhat_5.0, windows_xp

      Testsuite name: AWT manual
      JDK/JRE tested: 1.7.0b98 32bit(jdk-7-ea-bin-b98-linux-i586-17_jun_2010.bin)
      OS/architecture:oel5.5-x64
      Reproducible: Always
      Reproducible on machine:
      [If sometimes] Also reproducible on machine:
      Is it a platform specific regression: N [If yes] Is it a new platform support:
      N [If yes] Regression relative to OS version:
      Is it a Regression :N
      [If yes] Regression introduced in release/build:
      Test result on FCS:

      Test run log location:

      #Steps to reproduce:
      1. Test case: AWT_Printing/Manual/PrintWithoutPrinter/PrintWithoutPrinterTest.html

      2. Click the 'Print' button in the TestFrame.

      3. If you get message 'ERROR'

         in the Messagebox of Instruction Dialog press
         'Assertion Fail' else press 'Assertion Pass'
       

      #Actual behavior:
      After clicking the "Print" button,the case crashes.The log file PrintWithoutPrinterTest.html.log is attached.

      #Exceptions:
      None.

      #validation:
      1.Same platform/1.7.0b97 32bit(jdk-7-ea-bin-b97-linux-i586-10_jun_2010.bin) :Fail
      2.Same platform/6u21b05 32bit(jdk-6u21-ea-bin-b05-linux-i586-29_may_2010.bin) :Pass
      3.Same build/opensolaris-sparc: Fail
      add the case name for QARE:

      AWT_Printing/Manual/PrintWithoutPrinter/PrintWithoutPrinterTest
      Partial stack trace :

      2010-06-23T04:27:21.41] java.lang.NullPointerException
      [2010-06-23T04:27:25.79] at sun.awt.PlatformFont.makeMultiCharsetString(PlatformFont.java:154)
      [2010-06-23T04:27:25.79] at sun.awt.PlatformFont.makeMultiCharsetString(PlatformFont.java:114)
      [2010-06-23T04:27:25.79] at sun.print.PSPrinterJob.platformFontCount(PSPrinterJob.java:1167)
      [2010-06-23T04:27:25.79] at sun.print.PSPathGraphics.platformFontCount(PSPathGraphics.java:150)
      [2010-06-23T04:27:25.79] at sun.print.PathGraphics.printedSimpleGlyphVector(PathGraphics.java:853)
      [2010-06-23T04:27:25.79] at sun.print.PathGraphics.drawGlyphVector(PathGraphics.java:650)
      [2010-06-23T04:27:25.79] at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193)
      [2010-06-23T04:27:25.79] at sun.font.Decoration.drawTextAndDecorations(Decoration.java:122)
      [2010-06-23T04:27:25.79] at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197)
      [2010-06-23T04:27:25.79] at java.awt.font.TextLine.draw(TextLine.java:774)
      [2010-06-23T04:27:25.79] at java.awt.font.TextLayout.draw(TextLayout.java:2638)
      [2010-06-23T04:27:25.79] at sun.swing.SwingUtilities2.drawString(SwingUtilities2.java:509)
      [2010-06-23T04:27:25.79] at sun.swing.SwingUtilities2.drawStringUnderlineCharAt(SwingUtilities2.java:584)
      [2010-06-23T04:27:25.79] at javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt(BasicGraphicsUtils.java:246)
      [2010-06-23T04:27:25.79] at sun.awt.X11.XButtonPeer.paintText(XButtonPeer.java:307)
      [2010-06-23T04:27:25.79] at sun.awt.X11.XButtonPeer.paint(XButtonPeer.java:263)
      [2010-06-23T04:27:25.79] at sun.awt.X11.XButtonPeer.paint(XButtonPeer.java:91)
      [2010-06-23T04:27:25.79] at sun.awt.X11.XComponentPeer.print(XComponentPeer.java:451)

            prr Philip Race
            tonyli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: