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.
Summary: | "AssertionError: Did not find resource '.../.nbattrs'." from VcsFileSystem.deleteFile | ||
---|---|---|---|
Product: | obsolete | Reporter: | Jesse Glick <jglick> |
Component: | vcscore | Assignee: | issues@obsolete <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Stack trace |
Description
Jesse Glick
2005-01-28 03:27:42 UTC
Created attachment 20022 [details]
Stack trace
The assert is not correct. Should be somethingLike_Masked(name) || fo != null. It's hard to tune asserts having both file masking and file adding (virtuals). So the assert was correct. findResource was called too late (after File.delete()). This approach fails for not yet constructed fileobjects. FIXED in VcsFileSystem.java new revision: 1.314 |