Problem with Applet reloading

J

jay

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)
 
T

Thomas Hawtin

jay said:
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
 
J

jay

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.
 
O

Oliver Wong

jay said:
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.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top