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 3262

Summary: java.io.FileNotFoundException is not caught when initializing FileOutputStream to a read-only file
Product: platform Reporter: Martin Entlicher <mentlicher>
Component: -- Other --Assignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Entlicher 1999-08-10 20:08:30 UTC
java.io.FileNotFoundException: M:/Development/src/org/openide/util/filesystem.attributes (Access is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
        at org.openide.filesystems.LocalFileSystem.outputStream(LocalFileSystem.java:318)
        at org.openide.filesystems.DefaultAttributes.saveTable(DefaultAttributes.java:318)
        at org.openide.filesystems.DefaultAttributes.writeAttribute(DefaultAttributes.java:193)
        at org.openide.filesystems.AbstractFileObject.setAttribute(AbstractFileObject.java:308)
        at org.openide.loaders.ConnectionSupport.register(ConnectionSupport.java:124)
        at com.netbeans.developer.modules.loaders.java.JavaDataObject$3.run(JavaDataObject.java:235)
        at org.openide.util.Task.run(Task.java:127)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:408)
Comment 1 Marek Grummich 2000-07-25 09:24:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:55:11 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:17:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.