Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

StackOverflowError from mouseEntered??

843805Feb 15 2007 — edited Feb 26 2007
I am experiencing a weird intermittent problem with my swing application, which displays a scrollable JTable. It seems to be limited to when the table is large.

I get the following exception:
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
        at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:241)
        at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:241)
        at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:241)
(etc., etc.)

There is no call other than to mouseEntered in the entire stack trace, and I also don't have a mouseEntered method anywhere in my program. Is there any good way to figure out what's causing the problem? The stack trace makes it look like the mouseEntered method got itself into infinite recursion, but I find that hard to believe.

Oddly, my program keeps running despite getting this error repeatedly, but its performance is understandably extremely poor.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2007
Added on Feb 15 2007
3 comments
288 views