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: | "Externally deleted file" from FileUtil.isArchiveFile(URL) | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Filesystems | Assignee: | Jiri Skrivanek <jskrivanek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2009-05-01 22:11:45 UTC
It is harmless in this case. It can happen when you edit a class while doing a clean build and target/classes is deleted at the moment. Since it is only INFO message it should be there for cases where it really means that refresh should be called after external modification of files. If it is harmless then a stack trace that asks to be reported should not be printed. I think URLMapper.findFileObject(URL) should be guaranteed never to produce this warning, since there is nothing that the caller of the method could be doing better. It would be better to suppress the warning altogether (or log at FINE for use by someone specifically looking for these) than to produce bogus warnings in a quite routine situation. *** Issue 165057 has been marked as a duplicate of this issue. *** *** Issue 164847 has been marked as a duplicate of this issue. *** Warning logged with FINE level. core-main #71a5f9504595 |