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

NPE thrown by demo/applets CardTest, DrawTest and SymbolTest

XMLWordPrintable

    • beta3
    • x86, sparc
    • solaris_2.6, solaris_8, windows_2000
    • Verified

      Build : b69
      JDk : 1.4
      OS : win2k

      App : demo/applets/CardTest/example1/html
                   demo/applets/DrawTest/example1.html
                   demo/applets/SymbolTest/example1.html

        This bug is reproduced when we clone the applet for a couple of times , play with for sometime and then choose the option reload for couple of times then the below exception is thrown....

      java.lang.NullPointerException
              at sun.awt.SunToolkit.postEvent(SunToolkit.java:274)
              at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:167)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:330)
              at java.awt.Component.dispatchEventImpl(Component.java:3383)
              at java.awt.Component.dispatchEvent(Component.java:3353)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.SequencedEvent.dispatch(SequencedEvent.java:96)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)


      The bug is reproducible on the following os ..

      1)WinNTsp6
      2)Solaris2.8
      3)Solaris2.6

      Imp Note : demo/applets/DrawTest/example1.html is passing when tested on WinNTsp6 and failing on solaris2.8 , solaris2.6.



      =============================================================================

      Tested on build79 and cardtest, drawtest and symboltest of Jdk-demos
       are not failing on solaris2.6,2.8 and win2k.


      ###@###.### 2001-09-18

            ssisunw Ssi Ssi (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: