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 46093 - failure in testSelectedNode
Summary: failure in testSelectedNode
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-07-13 14:30 UTC by pzajac
Modified: 2008-12-22 15:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (1.74 KB, text/plain)
2004-07-13 14:31 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-07-13 14:30:33 UTC
Test Case:  	 testSelectedNodesInDeserializedPanel
Test Suite: 	org.openide.explorer. ExplorerPanelTest
Module Name: 	openide

testSelectedNodesInDeserializedPanel:

      junit.framework.AssertionFailedError:
[Deserialized panel] Array of selected nodes is
not empty.
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertFalse(Assert.java:34)
	at
org.openide.explorer.ExplorerPanelTest.testSelectedNodesInDeserializedPanel(ExplorerPanelTest.java:273)
Comment 1 pzajac 2004-07-13 14:31:21 UTC
Created attachment 16223 [details]
exception stacktrace
Comment 2 Jaroslav Tulach 2004-08-04 12:07:47 UTC
cvs ci -m "#46093: Making sure we run the test in awt thread and also
that deserialization updates correctly when executed from AWT thread."
Checking in src/org/openide/explorer/ExplorerManager.java;
/cvs/openide/src/org/openide/explorer/ExplorerManager.java,v  <-- 
ExplorerManager.java
new revision: 1.48; previous revision: 1.47
done
Processing log script arguments...
More commits to come...
Checking in test/unit/src/org/openide/explorer/ExplorerPanelTest.java;
/cvs/openide/test/unit/src/org/openide/explorer/ExplorerPanelTest.java,v
 <--  ExplorerPanelTest.java
new revision: 1.11; previous revision: 1.10
Comment 3 pzajac 2004-08-10 09:42:45 UTC
[200408091800]

error in test
testStepInto:

      org.netbeans.api.debugger.jpda.DebuggerStartException: Debugger
did not start
	at
org.netbeans.api.debugger.jpda.JPDASupport.waitDebuggerStarted(JPDASupport.java:178)
	at
org.netbeans.api.debugger.jpda.JPDASupport.connect(JPDASupport.java:128)
	at
org.netbeans.api.debugger.jpda.JPDASupport.listen(JPDASupport.java:201)
	at
org.netbeans.api.debugger.jpda.JPDASupport.listen(JPDASupport.java:195)
	at org.netbeans.api.debugger.jpda.StepTest.setUp(StepTest.java:34)
	at junit.framework.TestCase.runBare(TestCase.java:125)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
Comment 4 pzajac 2004-08-10 09:43:51 UTC
System Info

Host	:	qa-xp-s2
Operating System Name	:	Windows XP
Operating System Version	:	5.1
System Architecture	:	x86
Java Version	:	1.4.2_04
Java Vendor	:	Sun Microsystems Inc.
User Language	:	en
Comment 5 pzajac 2004-08-10 09:45:05 UTC
I'm sorry. This is incorect issue.
Comment 6 pzajac 2004-08-10 10:19:05 UTC
v