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

Exceptions when starting appletviewer with all applets in demo/applets at once

XMLWordPrintable

    • sparc
    • solaris_9, solaris_10

      When starting all applets in demo/applets at the same time with
      tiger-rc-b63 (I haven't regressed it all the way back, but the bug
      manifested on beta2 as well) a Multi-Processor unix (solaris or
      linux) system, the following exception is sometimes thrown:
      solaris-sparc (with XAWT toolkit):
      Exception in thread "AWT-EventQueue-4" java.lang.IllegalArgumentException: null source
              at java.util.EventObject.<init>(EventObject.java:38)
              at java.awt.AWTEvent.<init>(AWTEvent.java:253)
              at java.awt.event.ComponentEvent.<init>(ComponentEvent.java:97)
              at java.awt.event.WindowEvent.<init>(WindowEvent.java:179)
              at java.awt.event.WindowEvent.<init>(WindowEvent.java:219)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:616)
              at java.awt.Component.dispatchEventImpl(Component.java:3841)
              at java.awt.Container.dispatchEventImpl(Container.java:2024)
              at java.awt.Window.dispatchEventImpl(Window.java:1766)
              at java.awt.Component.dispatchEvent(Component.java:3803)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
              at java.awt.SentEvent.dispatch(SentEvent.java:50)
              at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:161)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

      linux-i586: same as above, plus:
      Exception in thread "AWT-EventQueue-21" java.util.NoSuchElementException
              at java.util.LinkedList.getFirst(LinkedList.java:109)
              at java.awt.SequencedEvent.getFirst(SequencedEvent.java:128)
              at java.awt.SequencedEvent.dispatch(SequencedEvent.java:68)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

      To run all demo applets at the same time:
       #>cd <j2se>/demo/applets
       #>../../bin/appletviewer */*.html
      Note that you may need to run it several times, the exceptions are intermittent.

      Note that on Solaris the problem is more easily reproduced when using
      XAWT toolkit, probably because it takes too long for motif version to start up.

      I haven't been able to reproduce this bug on windows.

      ###@###.### 2004-09-07

            dcherepanov Dmitry Cherepanov
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: