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

JDK118: NullPointerException is thrown continuously when moving mouse in Frame

XMLWordPrintable

    • generic
    • generic


      fumihiko.iwabuchi@japan 1998-12-04

      java.lang.NullPointerException is thrown continuously when moving the cursor inside
      Frame.

      This problems happens on Solaris2.6 SPARC, Solaris X86, WindowsNT4.0 and Windows98
      with build "C".

      How to reproduce:

      1) Go to the demo directory.
      2) Run appletviewer in each directory.
         appletviewer example1.html
      3) Move the mouse inside Frame and gets the exception output continuously.

      iwabuchi@dandelion> appletviewer example1.html
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at java.awt.LightweightDispatcher.updateCursor(Container.java:1846)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1537)
              at java.awt.Container.dispatchEventImpl(Container.java:937)
              at java.awt.Component.dispatchEvent(Component.java:1744)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at java.awt.LightweightDispatcher.updateCursor(Container.java:1846)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1537)
              at java.awt.Container.dispatchEventImpl(Container.java:937)
              at java.awt.Component.dispatchEvent(Component.java:1744)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at java.awt.LightweightDispatcher.updateCursor(Container.java:1846)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1537)
              at java.awt.Container.dispatchEventImpl(Container.java:937)
              at java.awt.Component.dispatchEvent(Component.java:1744)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at java.awt.LightweightDispatcher.updateCursor(Container.java:1846)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1537)
              at java.awt.Container.dispatchEventImpl(Container.java:937)
              at java.awt.Component.dispatchEvent(Component.java:1744)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
      .
      .
      .
      .
      .

      If you invoke an application which uses Frame, you will have the same problem.

      Very noisy, although I'm not sure if this error output is fatal or not.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: