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.
At least before there will be introduced the File Manipulation API or something like that which would replace the DataSystem API. I have prepared a patch for this but there might be some problems with timing (you know, datasystem ;-) I have been running projects/core xtests several times and it freezes always during ProjectMemberTest. The attached thread dump did not help much. OperationsTest was passed successfully. Maybe you will be luckier. FYI: jdk1.4.1_02-b06 + ant1.5.3-1/ant1.4.1
Created attachment 10818 [details] patch using the DataSystem API
Created attachment 10819 [details] xtests output + thread dump
Progress: I left tests to run by mistake after taking the thread dump and almost all xtests pass through. It took an age (~10-20 min) to continue running. The xtest suite (ProjectMemberTest) ended up with result unknown for ProjectMemberTest.testPersistance. Some idea what is wrong?
Created attachment 10820 [details] xtests results
Thanks for the patch. I have no idea why it hung, the thread dump is useless because it doesn't contain threads from inside the IDE (not sure why, but I never saw this working in tests). BTW, the patch isn't correct, it doesn't honor target names passed to operations. I think, we will have to simulate this by calling two DO operations in row like e.g. copy and rename. This doesn't look well and we should probably use it only as a fallback when there is no projectized operation handler registered in the system.
ad Thread dump: I think that it's because you are doing a thread dump on a different JVM then the one in which nb is running ;-) (the one used by Ant). The same problem happens when you use "ant tryme".
Fixed by modifying the proposed patch to consider target names and applying it. Running projects/core xtests several times, I have encountered only one deadlock related to ContainersList.Updater
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED --->
---> CLOSED