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

Switching screen resolutions caused NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.1
    • client-libs
    • x86
    • windows_xp



      Name: pa48320 Date: 05/05/2003

      Seen in 1.4.1_02 and 1.4.1_03 and 1.4.2b19
      When switching screen resolutions, either by changing the Settings or through the use of RemoteDesktop, Java applications and applets through a NullPointerException:
      java.lang.NullPointerException
      at sun.awt.windows.WWindowPeer.displayChanged(WWindowPeer.java:164)
      at sun.awt.SunDisplayChanger.notifyListeners(SunDisplayChanger.java:102)
      at sun.awt.Win32GraphicsDevice.displayChanged(Win32GraphicsDevice.java:377)
      at sun.awt.Win32GraphicsEnvironment.displayChanged(Win32GraphicsEnvironment.java:92)
      at sun.awt.windows.WToolkit$4.run(WToolkit.java:723)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      This eventually results in garbled fonts and crashes rendering text.
      ======================================================================

            son Oleg Sukhodolsky (Inactive)
            pallenba Peter Allenbach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: