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.
Build: NetBeans IDE Dev (Build 201012080001) VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04 OS: Windows Vista User Comments: Chiana: This has the same cause as #450394, powerfailure in the server room. Stacktrace: java.io.FileNotFoundException at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:152) at org.openide.filesystems.FileUtil.copyFileImpl(FileUtil.java:724) at org.openide.filesystems.FileObject.copy(FileObject.java:129) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.copy(BaseFileObj.java:237) at org.openide.filesystems.FileUtil.copyFile(FileUtil.java:783) at org.openide.filesystems.FileUtil.copyFile(FileUtil.java:798)
Created attachment 103752 [details] stacktrace
Throwing IOException is common from I/O operations. j2ee.persistence.indexing.CopyResourcesIndexer needs to be ready for that.
don't see much need for special handling. just log to message.log instead of exception report, case seems quite rare http://hg.netbeans.org/web-main/rev/016ba0704c13
Integrated into 'main-golden', will be available in build *201102030000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/016ba0704c13 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #193063 no much need neither log exception nor special handling here in my opinion, but log will help in case of problems