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

Merlinb67: java.util.NoSuchElementException occuring in Java2D demo

XMLWordPrintable

    • beta2
    • generic
    • generic
    • Verified


      Steps to Reproduce:

      1) Launch Java2Demo on Win2000/ Win98 SE/ Solsparc6/ RH Linux6.2.
      2) Click on the "Mix" tab.
      3) Click on the "Text" button.
      4) Click on the "Paint" tab
      5) Click on the "Mix" tab
      6) Click on teh "Text" button.
      On doing this, java.util.NoSuchElementException is thrown on the console. Sometimes the demo hangs just after this exception is thrown.

      The following exception is thrown:

      java.util.NoSuchElementException
              at java.util.LinkedList.remove(LinkedList.java:567)
              at java.util.LinkedList.removeFirst(LinkedList.java:121)
              at java.awt.KeyboardFocusManager.retargetFocusEvent(KeyboardFocusManager
      .java:2234)
              at java.awt.Component.dispatchEventImpl(Component.java:3378)
              at java.awt.Container.dispatchEventImpl(Container.java:1440)
              at java.awt.Window.dispatchEventImpl(Window.java:1531)
              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:15
      0)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)

              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      ruchika.mehdiratta@Eng 2001-06-06

            dmikhalksunw Denis Mikhalkin (Inactive)
            rmehdirasunw Ruchika Mehdiratta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: