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.
200301270100, qa-fiji org.netbeans.test.java.gui.customizers.FieldCustomizer.testCustomizeField() Test is in CVS, module java/test
Test works fine on Windows
Created attachment 8696 [details] Stack trace
I cannot reproduce it on any other environment than on fiji. Please, try to add some waiting before combo selection: line 63: new EventTool().waitNoEvent(1000);
I cannot find in documentation, where should I insert those waitNoEvents. This was just an example of "randomly failed" test. How should we avoid those fails? We cannot insert waitNoEvents everywhere. I think these issue should be solved on lower level than the test level.
Hmm, sometimes I have the same problem, even if I wait for 3s. JavaNode node = new JavaNode(optTree, ...); new EventTool().waitNoEvent(3000); node.delete(); see org.netbeans.test.java.compilation.CompilerSettings.deleteTestCompiler(CompilerSettings.java:110) this test is in CVS module java/test/qa-functional/src
Created attachment 8790 [details] Stack trace
It is probably some timing issue. We need to investigate it more. In the meantime I would recommend to change mentioned test case the following way: OptionsOperator optionsOperator = OptionsOperator.invoke(); optionsOperator.selectOption(BUILDING + "|" + COMPILER_TYPES + "|" + TEST_COMPILER); JTreeOperator optTree= optionsOperator.treeTable().tree(); JavaNode node = new JavaNode(optTree, BUILDING + "|" + COMPILER_TYPES + "|" + TEST_COMPILER); node.delete(); It is because tree in Options frame is not a regular JTree but TreeTable and that is why must be handled a different way that an ordinary tree.
Fixed thanks to Shura in version 2.0.48. TreeTableOperator.scrollToPath() method was overriden.
I'm sorry, but I still have problems with "scrolling". I do RepositoryTabOperator.invoke(); JavaNode javaNode = new JavaNode(node); javaNode.select(); new EventTool().waitNoEvent(1000); javaNode.performMenuAction("Tools|" + Bundle.getString("org.netbeans.modules.java.imptool.Bundle", "LAB_ImpToolAction"));
Created attachment 8997 [details] Stack trace
Failure no more happens in a test case from which attached stack trace is.
Resolved for 3.4.x or earlier, no new info since then -> closing.