This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
All invokeAndWait() calls can not be finished, because threads "AWT-XAWT" and "AWT-EventQueue-0" are interrupted with OutOfMemoryError.
Created attachment 135787 [details] Console text
(In reply to comment #0) > All invokeAndWait() calls can not be finished, because threads "AWT-XAWT" and > "AWT-EventQueue-0" are interrupted with OutOfMemoryError. Unfortunately I'm not able to reproduce it locally so it is hard to determine what causes the OutOfMemoryError because I can't find anything suspicious in these tests. I'll reopen this issue if it occurs again.
As Jaroslav Tulach pointed out at https://netbeans.org/projects/platform/lists/core-commits/archive/2013-06/message/265 the OOME might be related to assertGC() calls.
Created attachment 136396 [details] Console text, failure of build #10429. There are similar failures of BeanTreeViewTest. See http://deadlock.netbeans.org/hudson/job/NB-Core-Build/10429/testReport/ or the attached console output.
I have one wild idea - try to block AWT during assertGC so that OutOfMemoryError can not occur in AWT-EventQueue-0 thread.
I've tried to fix it by blocking of AWT thread during the GC checks: changeset: 257629:78e6da76d2fd http://hg.netbeans.org/core-main/rev/78e6da76d2fd
Integrated into 'main-silver', will be available in build *201307011244* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/78e6da76d2fd User: mentlicher@netbeans.org Log: #231254: Solve OutOfMemoryError occuring in AWT-EventQueue-0 thread by suspension of AWT thread during GC checks.