Solaris: NullPointerException when setting icon for frame

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • None
    • beta2
    • sparc
    • solaris_2.6

      If the Java program tries to set icon image for frame while it is run using remote display the following exception will be thrown:
      java.lang.NullPointerException: NullPointerException
              at sun.awt.motif.MFramePeer.pSetIconImage(Native Method)
              at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:164)
              at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:62)
              at sun.awt.motif.MToolkit.createFrame(MToolkit.java:195)
              at java.awt.Frame.addNotify(Frame.java:468)
              at java.awt.Window.pack(Window.java:414)
              at com.sun.smtv.player.MediaViewHandler.handleDisplay(MediaViewHandler.java:113)
              at com.sun.smtv.player.MediaViewHandler.handleDisplay(MediaViewHandler.java:103)
              at com.sun.smtv.player.MediaViewHandler.setView(MediaViewHandler.java:76)
              at com.sun.smtv.player.GUIController.init(GUIController.java:135)
              at com.sun.smtv.engine.MediaCenter.<init>(MediaCenter.java:64)
              at com.sun.smtv.engine.StartupServer$ThreadedEchoHandler.run(StartupServer.java:130)
              at java.lang.Thread.run(Thread.java:579)

      /net/chimchim/never/sm/bin/showmetv can be used as the test program.

            Assignee:
            Richard Ray (Inactive)
            Reporter:
            Dom Dom (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: