Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with Applet reloading

4 views
Skip to first unread message

jay

unread,
Jun 20, 2006, 1:09:03 AM6/20/06
to
Hi all,
Does anyone know why I get the following exception (and what does it
mean) when I refresh the web page where my applet resides.
----------- Taken from IE Java Console--------------
Exception in thread "AWT-EventQueue-14"
java.util.NoSuchElementException
at java.util.LinkedList.getFirst(Unknown Source)
at java.awt.SequencedEvent.getFirst(Unknown Source)
at java.awt.SequencedEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

----------------------------------------------------
Does anyone have any idea on how to fix this, I have tried everything
but have not yet succeeded. Thanks for any help.

Jay

Thomas Hawtin

unread,
Jun 20, 2006, 10:30:29 AM6/20/06
to
jay wrote:
> Does anyone know why I get the following exception (and what does it
> mean) when I refresh the web page where my applet resides.
> ----------- Taken from IE Java Console--------------
> Exception in thread "AWT-EventQueue-14"
> java.util.NoSuchElementException
> at java.util.LinkedList.getFirst(Unknown Source)
> at java.awt.SequencedEvent.getFirst(Unknown Source)

There are a number of bugs in the Bug Parade that do this sort of thing.
The code looks a mess. The good news is that in 1.6 Windows doesn't
appear to use SequencedEvent. Until then, I guess you should have a look
through bugs.sun.com.

Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/

jay

unread,
Jun 20, 2006, 3:34:47 PM6/20/06
to
> There are a number of bugs in the Bug Parade that do this sort of thing.
> The code looks a mess. The good news is that in 1.6 Windows doesn't
> appear to use SequencedEvent. Until then, I guess you should have a look
> through bugs.sun.com.

Thanks for your reply,

Sorry for my not understanding but what do you mean "The code looks a
mess."

Also do you think that this might be a bug in the JVM or is it a bug in
my programming. I checked the bug reports but didn't seem to find
anything that related to my problem.

Jay.

Oliver Wong

unread,
Jun 20, 2006, 3:57:47 PM6/20/06
to

"jay" <junis...@yahoo.com> wrote in message
news:1150832087.5...@h76g2000cwa.googlegroups.com...

I think Thomas is saying the bug is in the JVM, and that it (might) be
fixed when 1.6 comes out. He also said if you need it working now, read the
bug reports to find a workaround.

- Oliver

0 new messages