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.
Something wrong in XML
Please, attach or send me zipped results. http://qa.netbeans.org/bugzilla/issue-reports.html ;-)
Created attachment 27378 [details] The results
Sorry, I had the failure zipped, but forgot to attach it.
Well, it is an issue which appears from time to time. I added a diagnostic to IDEValidation.java already. It says that DTD.dtd node is created, DTD.dtd is opened in editor, but then DTD.dtd node is destroyed and probably recreated because screen shot shows it. But the test still works with destroyed node. I don't know why it is re-created. Because of sorting?
The only way to find the reason for random failures like this is to enable logging and see what is happening in the system. The best would imho be if there was one log shared between the jemmy tests and the system. That way one could see the sequence of actions that really happened.
I fixed it in jellytools. When a node is re-created we find valid TreePath in getTreePath() method. /cvs/jellytools/src/org/netbeans/jellytools/nodes/Node.java,v <-- Node.java new revision: 1.19; previous revision: 1.18 done Checking in NodeTest.java; /cvs/jellytools/test/unit/src/org/netbeans/jellytools/nodes/NodeTest.java,v <-- NodeTest.java new revision: 1.14; previous revision: 1.13
One more place where getTreePath() has to be called: /cvs/jellytools/src/org/netbeans/jellytools/nodes/Node.java,v <-- Node.java new revision: 1.21; previous revision: 1.20 /cvs/jellytools/test/unit/src/org/netbeans/jellytools/nodes/NodeTest.java,v <-- NodeTest.java new revision: 1.15; previous revision: 1.14