JDK 1.4 to 1.5 StackOverFlowError

M

Michael

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
 
?

.

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.
 

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,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top