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 50166

Summary: "Wrong number of nodes. expected:<2> but was:<0>" failure in java/project unit tests
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Milan Kubec 2004-10-08 11:22:59 UTC
[200410070525, JDK 1.4.2_04, 1.4.2_05, 1.4.2_06]

Test PackageViewTest.testCopyPaste failed with
message:

testCopyPaste:

junit.framework.AssertionFailedError: Wrong number
of nodes. expected:<2> but was:<0>
 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
junit.framework.Assert.assertEquals(Assert.java:201)
 at
org.netbeans.spi.java.project.support.ui.PackageViewTest.assertNodes(PackageViewTest.java:717)
 at
org.netbeans.spi.java.project.support.ui.PackageViewTest.assertNodes(PackageViewTest.java:711)
 at
org.netbeans.spi.java.project.support.ui.PackageViewTest.testCopyPaste(PackageViewTest.java:488)
Comment 1 Jesse Glick 2004-10-08 15:25:05 UTC

*** This issue has been marked as a duplicate of 48691 ***
Comment 2 Milan Kubec 2004-11-03 13:05:41 UTC
Verified.