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 / GUI / April 2005

Tip: Looking for answers? Try searching our database.

JDK 1.4 to 1.5 StackOverFlowError

Thread view: 
Michael - 18 Apr 2005 14:23 GMT
Hello,

We had updated our JDK from 1.4 to 1.5. Since that, a
StackOverFlowError occur in our Java Applet. Someone knows why this
Error occurs ? Nothing of the stack trace is a part of our own code,
that's all java code.

Exception in thread "Thread 18" java.lang.StackOverFlowError
at java.util.ArrayList.add(Unknown Source)
at javax.swing.SortingFocusTraversalPolicy.enumerateCycle(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.enumerateCycle(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.enumerateCycle(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.enumerateCycle(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.enumerateCycle(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.SortingFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.LayoutFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at java.awt.ContainerOrderFocusTraversalPolicy.getLastComponent(Unknown
Source)
at javax.swing.DefaultFocusManager.getLastComponent(Unknown Source)
at javax.swing.LegacyGlueFocusTraversalPolicy.getLastComponent(Unknown
Source)
...

Thanx
"." - 19 Apr 2005 16:31 GMT
> Hello,
>
> We had updated our JDK from 1.4 to 1.5. Since that, a
> StackOverFlowError occur in our Java Applet. Someone knows why this
> Error occurs ? Nothing of the stack trace is a part of our own code,
> that's all java code.

I'm not a guru or anything but here are some things that immediately pop
to mind:

Did you re-compile the applet with the 1.5 JDK or are you using the old
files with the new JDK?

I noticed a lot of java.awt.* packages. You might also want to see if any
of the packages listed in the stack dump are now deprecated in 1.5. Even
deprecated they should still work; that is the theory but you might be
dealing with reality.

> Exception in thread "Thread 18" java.lang.StackOverFlowError
> at java.util.ArrayList.add(Unknown Source)
[quoted text clipped - 189 lines]
>
> Thanx

Signature

Send e-mail to: darrell dot grainger at utoronto dot ca



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.