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 51933 - PackageViewTest.testCopyPaste failure in automated tests
Summary: PackageViewTest.testCopyPaste failure in automated tests
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: TEST
: 51932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-30 09:39 UTC by Milan Kubec
Modified: 2006-03-24 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (1.67 KB, text/plain)
2004-11-30 09:40 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-11-30 09:39:49 UTC
[200411281900, 1.4.2_06]

Error message:
Wrong number of nodes. expected:<2> but was:<1>
Stack trace attached.
Comment 1 Milan Kubec 2004-11-30 09:40:27 UTC
Created attachment 19079 [details]
exc stack trace
Comment 2 Milan Kubec 2004-11-30 10:52:24 UTC
*** Issue 51932 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2004-12-01 17:45:51 UTC
You're forgetting the TEST keyword again.
Comment 4 Milan Kubec 2004-12-02 10:18:01 UTC
Yes, sorry for that, I will keep it on mind.
Comment 5 Tomas Zezula 2004-12-03 13:33:00 UTC
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
Comment 6 David Konecny 2005-01-24 16:01:06 UTC
Reopen if it still fails.
Comment 7 Milan Kubec 2005-02-09 13:35:29 UTC
Haven't seen for long time, verified.