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.

Bug 193063 - [70cat] java.io.FileNotFoundException at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream
Summary: [70cat] java.io.FileNotFoundException at org.netbeans.modules.masterfs.fileba...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 19:24 UTC by Chiana
Modified: 2011-02-03 05:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 174034


Attachments
stacktrace (1.78 KB, text/plain)
2010-12-08 19:24 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2010-12-08 19:24:02 UTC
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)
Comment 1 Chiana 2010-12-08 19:24:06 UTC
Created attachment 103752 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-01-06 18:14:58 UTC
Throwing IOException is common from I/O operations. 
j2ee.persistence.indexing.CopyResourcesIndexer needs to be ready for that.
Comment 3 Sergey Petrov 2011-02-01 12:42:05 UTC
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
Comment 4 Quality Engineering 2011-02-03 05:50:56 UTC
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