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.
[200408091800] junit.framework.AssertionFailedError: After closing dialog, focus should not be null. at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.openide.explorer.propertysheet.PropertyPanelInDialogTest.checkOneRenderer(PropertyPanelInDialogTest.java:294) at org.openide.explorer.propertysheet.PropertyPanelInDialogTest.testBooleanEditor(PropertyPanelInDialogTest.java:202) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) System Info Host : qa-frodo Operating System Name : SunOS Operating System Version : 5.9 System Architecture : sparc Java Version : 1.4.2_05 Java Vendor : Sun Microsystems Inc. User Language : en
Created attachment 16716 [details] test log
Fixed - slowed the test down and ensure it really focuses the components before testing - when running the test on Linux, it would sometimes fail if the window that should initially get focus was shown, but focus was still on the terminal that launched the process (which got focus back when the last one was closed). So, making sure it really gets focus, is sent to front, etc.
The test fails on solaris. Host : qa-frodo Operating System Name : SunOS Operating System Version : 5.9 System Architecture : sparc Java Version : 1.4.2_05 Java Vendor : Sun Microsystems Inc. User Language : en
Created attachment 16883 [details] test log
Made the tests still more robust against focus/window activation timing problems. All pass for me now, should all pass for you.
v