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.
http://hudson4qe.cz.oracle.com/view/Platform/job/platform-explorer/ seems to indicate the BeanTreeViewTest.testVisibleCollapsedNodesAreGCed is failing quite often. Considre similar fix as done by Standa for another memory leak, see bug 233403 junit.framework.AssertionFailedError: Collapsed - should be GCed.: private static java.awt.Component java.awt.KeyboardFocusManager.focusOwner-> org.openide.explorer.view.BeanTreeView@667ed7-visHolder-> org.openide.explorer.view.TreeView$VisualizerHolder@9a8519-map-> java.util.HashMap@1f2d944-table-> [Ljava.util.HashMap$Entry;@1cd18fd-[10]-> java.util.HashMap$Entry@ea3111-key-> org.openide.explorer.view.VisualizerChildren@e08e48-visNodes-> java.util.ArrayList@1bdecd8-elementData-> [Ljava.lang.Object;@88cb58-[0]-> org.openide.explorer.view.VisualizerNode@2af8bd at junit.framework.Assert.fail(Assert.java:50) at org.netbeans.junit.NbTestCase$4.run(NbTestCase.java:1418) at org.netbeans.junit.internal.NbModuleLogHandler.whileIgnoringOOME(NbModuleLogHandler.java:170) at org.netbeans.junit.NbTestCase.assertGC(NbTestCase.java:1376) at org.netbeans.junit.NbTestCase.assertGC(NbTestCase.java:1352) at org.openide.explorer.view.EQFriendlyGC.assertGC(EQFriendlyGC.java:72) at org.openide.explorer.view.BeanTreeViewTest$4AWTTst.checkGc(BeanTreeViewTest.java:367) at org.openide.explorer.view.BeanTreeViewTest.testVisibleCollapsedNodesAreGCed(BeanTreeViewTest.java:377) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at junit.framework.TestCase.runTest(TestCase.java:168) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:97) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:431) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:357) at java.lang.Thread.run(Thread.java:724)
fix: http://hg.netbeans.org/core-main/rev/8fa8cbb64668
Integrated into 'main-silver', will be available in build *201308072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8fa8cbb64668 User: Jan Peska <JPESKA@netbeans.org> Log: Issue #233654 - org.openide.explorer.view.BeanTreeViewTest.testVisibleCollapsedNodesAreGCed Test was failing due to EDT blocking in EQFriendlyGC - in two tests, usage of EQFriendlyGC is probably not necessary - OOME should not be thrown