StackOverflowError At sun.awt.image.imagewatched$weaklink.iswatcher (Doc ID 1393220.1)

Last updated on MARCH 10, 2013

Applies to:

Oracle JRockit - Version R28.1.3 and later
Information in this document applies to any platform.

Symptoms

An infinite loop from JDK/AWT code causes StackOverflowError
You can check it in the exception stack trace (or in thread dumps).

You should see threads like this

"[ACTIVE] ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'" id=178 idx=0x2e4 tid=186 prio=5 alive, native_blocked, daemon
at java/lang/ref/Reference.get(Reference.java:145)
at sun/awt/image/ImageWatched$WeakLink.isWatcher(ImageWatched.java:84)
at sun/awt/image/ImageWatched$WeakLink.isWatcher(ImageWatched.java:84)
at sun/awt/image/ImageWatched$WeakLink.isWatcher(ImageWatched.java:84)
at sun/awt/image/ImageWatched$WeakLink.isWatcher(ImageWatched.java:84)
at sun/awt/image/ImageWatched$WeakLink.isWatcher(ImageWatched.java:84)
<repeats 1000 times due to the infinite recursive loop>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms