Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Problem with Applet reloading

Thread view: 
jay - 20 Jun 2006 06:09 GMT
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 - 20 Jun 2006 15:30 GMT
> Does anyone know why I get the following exception (and what does it
> mean) when I refresh the web page where my applet resides.
[quoted text clipped - 3 lines]
>     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
Signature

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

jay - 20 Jun 2006 20:34 GMT
> 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 - 20 Jun 2006 20:57 GMT
>> 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
[quoted text clipped - 9 lines]
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.