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

NPE printing from Appletviewer

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      Build : 'K'
      OS : Solaris 2.5.1, 2.6 only (Win..ok, x86..n/a, 2.7..n/a)
      app : appletviewer

      Although continues to print properly. The following NPE gets dumped:

      NPE:
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at sun.awt.SunToolkit.getFontMetrics(SunToolkit.java, Compiled Code)
              at sun.awt.motif.MToolkit.getFontMetrics(MToolkit.java, Compiled Code)
              at sun.awt.motif.PSGraphics.getFontMetrics(PSGraphics.java, Compiled Code)
              at sun.awt.motif.PSPrintStream.sendString(PSPrintStream.java, Compiled Code)
              at sun.awt.motif.PSGraphics.drawString(PSGraphics.java, Compiled Code)
              at ArcCanvas.paint(ArcTest.java, Compiled Code)
              at java.awt.Component.print(Component.java, Compiled Code)
              at sun.awt.motif.MComponentPeer.print(MComponentPeer.java, Compiled Code)
              at java.awt.Component.printAll(Component.java, Compiled Code)
              at java.awt.Container.printOneComponent(Container.java, Compiled Code)
              at java.awt.Container.printComponents(Container.java, Compiled Code)
              at sun.awt.motif.MPanelPeer.print(MPanelPeer.java, Compiled Code)
              at java.awt.Component.printAll(Component.java, Compiled Code)
              at sun.applet.AppletViewer.appletPrint(AppletViewer.java, Compiled Code)
              at sun.applet.AppletViewer.processUserAction(AppletViewer.java, Compiled Code)
              at sun.applet.AppletViewer$UserActionListener.actionPerformed(AppletViewer.java, Compiled Code)
              at java.awt.MenuItem.processActionEvent(MenuItem.java, Compiled Code)
              at java.awt.MenuItem.processEvent(MenuItem.java, Compiled Code)
              at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java, Compiled Code)
              at java.awt.MenuComponent.dispatchEvent(MenuComponent.java, Compiled Code)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java, Compiled Code)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: