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.
[200411281900, 1.4.2_06] Error message: Wrong number of nodes. expected:<2> but was:<1> Stack trace attached.
Created attachment 19079 [details] exc stack trace
*** Issue 51932 has been marked as a duplicate of this issue. ***
You're forgetting the TEST keyword again.
Yes, sorry for that, I will keep it on mind.
Does it fail deterministically? It works fine on my linux. The test does the clipboard copy of ExTransferable.Multi containing 2 JavaDataObject nodes. The used PasteType is DataFolder's PasteType. The assertNodes calls children.getNodes(true) to refresh nodes. It should work fine. I've added some more assertions to be sure that the FileObjects are really created. Checking in project/test/unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java; /cvs/java/project/test/unit/src/org/netbeans/spi/java/project/support/ui/PackageViewTest.java,v <-- PackageViewTest.java new revision: 1.23; previous revision: 1.22 done
Reopen if it still fails.
Haven't seen for long time, verified.