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.