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

switching user in XP causes an NPE in sun.awt.windows.WWindowPeer.displayChanged

XMLWordPrintable

    • b41
    • x86
    • windows_2000, windows_xp



      Name: gm110360 Date: 01/20/2004


      FULL PRODUCT VERSION :
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      this is while loading an applet

      A DESCRIPTION OF THE PROBLEM :
      The following happens on init() of an Applet when using the "switch user" feature of Windows XP:


      java.lang.NullPointerException

      at sun.awt.windows.WWindowPeer.displayChanged(Unknown Source)

      at sun.awt.SunDisplayChanger.notifyListeners(Unknown Source)

      at sun.awt.Win32GraphicsDevice.displayChanged(Unknown Source)

      at sun.awt.Win32GraphicsEnvironment.displayChanged(Unknown Source)

      at sun.awt.windows.WToolkit$4.run(Unknown Source)

      at java.awt.event.InvocationEvent.dispatch(Unknown Source)

      at java.awt.EventQueue.dispatchEvent(Unknown Source)

      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

      at java.awt.EventDispatchThread.run(Unknown Source)





      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 234795)
      ======================================================================

            son Oleg Sukhodolsky (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: