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

Appletviewer's Print crashes or locks up Win95/98

XMLWordPrintable

    • x86, sparc
    • solaris_2.6, windows_nt

      Build : 'G' ('F' ok)
      OS : Win32 and Solaris
      app : appletviewer

      Trying to Print using Appletviewer on any applet gets results below.

      Under Win95: System lock
            Win98: System lock
            WinNT: pass!

      Solaris dump: (when executing Print)
      java.lang.NullPointerException
              at sun.awt.SunToolkit.getFontMetrics(SunToolkit.java:208)
              at sun.awt.motif.MToolkit.getFontMetrics(MToolkit.java:251)
              at sun.awt.motif.PSGraphics.getFontMetrics(PSGraphics.java:150)
              at sun.awt.motif.PSPrintStream.sendString(PSPrintStream.java:349)
              at sun.awt.motif.PSGraphics.drawString(PSGraphics.java:466)
              at ArcCanvas.paint(ArcTest.java:121)
              at java.awt.Component.print(Component.java:2104)
              at sun.awt.motif.MComponentPeer.print(MComponentPeer.java:266)
              at java.awt.Component.printAll(Component.java:2129)
              at sun.awt.motif.MPanelPeer.printHeavyweightComponents(MPanelPeer.java:50)
              at sun.awt.motif.MPanelPeer.print(MPanelPeer.java:37)
              at java.awt.Component.printAll(Component.java:2129)
              at sun.applet.AppletViewer.appletPrint(AppletViewer.java:609)
              at sun.applet.AppletViewer.processUserAction(AppletViewer.java:760)
              at sun.applet.AppletViewer$UserActionListener.actionPerformed(AppletViewer.java:135)
              at java.awt.MenuItem.processActionEvent(MenuItem.java:525)
              at java.awt.MenuItem.processEvent(MenuItem.java:489)
              at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:275)
              at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:265)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:324)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:107)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:97)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:88

            prr Philip Race
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: