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 48594 - failure in testLeafNodeReallyNotDisplayed
Summary: failure in testLeafNodeReallyNotDisplayed
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: RANDOM, TEST
Depends on:
Blocks:
 
Reported: 2004-09-07 14:43 UTC by pzajac
Modified: 2008-12-22 18:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test's log (1.44 KB, text/plain)
2004-09-07 14:44 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-09-07 14:43:26 UTC
Test Case:  	 testLeafNodeReallyNotDisplayed
Test Suite: 
org.openide.explorer.view. ContextTreeViewTest
Module Name: 	openide
Comment 1 pzajac 2004-09-07 14:44:02 UTC
Created attachment 17434 [details]
test's log
Comment 2 Petr Nejedly 2004-09-07 22:21:22 UTC
Yarda, can't this be related to your fix in Children?
Comment 3 Jaroslav Tulach 2004-09-08 11:49:33 UTC
I doubt. I have run all openide tests and this one passed. Moreover I
do not think anyone is calling Children.Keys.refreshKey in this test.
Is this not related to some AWT vs. other thread magic?
Comment 4 Petr Nejedly 2004-09-08 14:19:44 UTC
In the log, it is failure ot the test, not of the tested behaviour.

Anyway, I can't reproduce the failure.

I've slightly modified the test and hope it will work correctly next
time. At least I've fixed the error message (it was backwards).
Comment 5 pzajac 2004-09-10 13:43:29 UTC
v
Comment 6 pzajac 2004-09-13 13:11:40 UTC
The test failed again: [jdk1.5rc][linux]

testLeafNodeReallyNotDisplayed:

      junit.framework.AssertionFailedError: There is root
expected:<test root> but was:<null>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:282)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at
org.openide.explorer.view.ContextTreeViewTest.testLeafNodeReallyNotDisplayed(ContextTreeViewTest.java:89)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
Comment 7 Jaroslav Tulach 2004-09-14 08:30:09 UTC
Problem in the test. Somehow the ctv.addNotify is not called even
after 10s? Petr, can you imagine what is wrong?
Comment 8 Petr Nejedly 2004-09-14 09:17:45 UTC
Don't know. I've never seen it failed and it fails randomly even on
the test machine. Machine under heavy load?
Comment 9 Jaroslav Tulach 2004-10-13 15:48:45 UTC
Let's pretend it works - no failure for a month or so.
Comment 10 pzajac 2004-11-02 17:55:21 UTC
v