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 - "Wrong number of nodes. expected:<2> but was:<0>" failure in java/project unit tests
Summary: "Wrong number of nodes. expected:<2> but was:<0>" failure in java/project uni...
Status: CLOSED DUPLICATE of bug 48691
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-08 11:22 UTC by Milan Kubec
Modified: 2006-03-24 10:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.