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.
[20040211] to reproduce: 1) created a nb4.0 project 2) run current 4.1 build 3) open the project => the project has some broken references 4) resolve them => you are asked to upgrade the project 5) click OK => 5 seconds after the upgrade an assertion from masterfs module is thrown. It seems not to have any real impact except of the user disturbance.
Created attachment 20318 [details] The Assertion Error
This is likely caused by a bug in masterfs module. The problem is caused by a fact, that I use this code: FileObject prfFO; String confDir = "./conf"; ... prjFO.createFolder(confDir); ... This likely cause a fileobject for '.' is created and then when refresh on the filesystem is called a BaseFileObj.fireFileDeletedEvent(...) is called. Inside this code there is an assertion that the deleted fileobject doesn't exist, which is not true. Even it seems to be a problem in the fileobjects, I will fix it on my side by removing the . form the file path.
fixed on web project side Checking in UpdateHelper.java; /cvs/web/project/src/org/netbeans/modules/web/project/UpdateHelper.java,v <-- UpdateHelper.java new revision: 1.7; previous revision: 1.6 done
Verified.