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.

Bug 87976

Summary: Getting nodes of logical view's node does not work reliably in tests
Product: apisupport Reporter: Martin Krauskopf <mkrauskopf>
Component: ProjectAssignee: Martin Krauskopf <mkrauskopf>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM, TEST, THREAD
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: assertion
Attaching one more exception. Obviously the same (famous) problem with children keys.

Description Martin Krauskopf 2006-10-25 16:14:42 UTC
This one is random. See attachment.
Comment 1 Martin Krauskopf 2006-10-25 16:15:33 UTC
Created attachment 35542 [details]
assertion
Comment 2 Martin Krauskopf 2007-02-23 09:58:04 UTC
Created attachment 38855 [details]
Attaching one more exception. Obviously the same (famous) problem with children keys.
Comment 3 Martin Krauskopf 2007-08-17 12:38:11 UTC
This is general problem in bunch of tests. And is the same for all of them. Once solved it will work for all of them. We
just need a trick to achieve children refresh/load. Currently it seems that even 'ping' trick stops to work completely
(not RANDOM, I think). I'll try to ask, probably Petr Nejedly, when I meet him.
Comment 4 Martin Krauskopf 2007-08-17 12:39:40 UTC
*** Issue 89049 has been marked as a duplicate of this issue. ***
Comment 5 Martin Krauskopf 2007-10-02 10:59:23 UTC
Something is fixed. Will fix other as/if they fail.

src/org/netbeans/modules/apisupport/project/ui/ImportantFilesNodeFactory.java;
new revision: 1.6; previous revision: 1.5
test/unit/src/org/netbeans/modules/apisupport/project/TestBase.java;
new revision: 1.51; previous revision: 1.50
test/unit/src/org/netbeans/modules/apisupport/project/ui/LibrariesNodeTest.java;
new revision: 1.11; previous revision: 1.10
test/unit/src/org/netbeans/modules/apisupport/project/ui/ModuleLogicalViewTest.java;
new revision: 1.17; previous revision: 1.16