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.
failing mostly on windows due testLeakingNbPresenterDescriptor: junit.framework.AssertionFailedError: Dialog disappears.: static java.util.Vector java.awt.Window.allWindows-> java.util.Vector@1d5ee81-elementData-> [Ljava.lang.Object;@110d0b1-[1]-> org.netbeans.core.windows.services.NbDialog@10f559e-componentListener-> javax.swing.BufferStrategyPaintManager$BufferInfo@4b6ad9-this$0-> javax.swing.BufferStrategyPaintManager@4873aa-root-> org.netbeans.core.windows.services.NbDialog@2f3f59-descriptor-> org.openide.WizardDescriptor@16dbfb4 at junit.framework.Assert.fail(Assert.java:47) at org.netbeans.junit.NbTestCase.assertGC(NbTestCase.java:1163) at org.netbeans.junit.NbTestCase.assertGC(NbTestCase.java:1112) at org.netbeans.core.windows.services.NbPresenterLeakTest.testLeakingNbPresenterDescriptor(NbPresenterLeakTest.java:65)
Checking in NbPresenterLeakTest.java; /shared/data/ccvs/repository/core/windows/test/unit/src/org/netbeans/core/windows/services/NbPresenterLeakTest.java,v <-- NbPresenterLeakTest.java new revision: 1.2; previous revision: 1.1 Seems to be specific to jdk version >= 6.0u1.
Seems to be fixed according to the comments in the source code and the commit log here.
unfortunately failing again, mostly on Vista: http://beetle.czech.sun.com/automatedtests/xtest/netbeans_dev/200709301200/qa-unit_stable/qa-t4u-vis1/testrun_071001-010801/testbag_124/htmlresults/suites/TEST-org.netbeans.core.windows.services.NbPresenterLeakTest.html#testLeakingNbPresenterDescriptor http://beetle.czech.sun.com:8080/unittest/TestCase.jsp?issues=42562
Improved the JDK workaround: core/windows/test/unit/src/org/netbeans/core/windows/services/NbPresenterLeakTest.java,v1.4