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

AWT throws exception in lightweight event handling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.4
    • client-libs
    • generic
    • solaris_2.5

      Using JavaTest 2.0, which is based solely upon the vanilla JDK 1.1.4 API
      (no Swing, anything like this) It is very easy to provoke an execption in
      the event handling code. Simply popup a file dialog and dismiss it
      to get an execption like the following:

      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:1544)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1448)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1383)
              at java.awt.Container.dispatchEventImpl(Container.java:922)
              at java.awt.Component.dispatchEvent(Component.java:1704)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)

            jdunnsunw Jeffrey Dunn (Inactive)
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: