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 67393 - java.io.FileNotFoundException when deleting a properties file
Summary: java.io.FileNotFoundException when deleting a properties file
Status: RESOLVED DUPLICATE of bug 63321
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 09:36 UTC by Max Sauer
Modified: 2007-09-06 23:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stack trace (2.00 KB, text/plain)
2005-10-24 09:37 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2005-10-24 09:36:27 UTC
While deleting properties file, a warning stating "The document could not be
loaded." popped up and following exception has been thrown on the background:

java.io.FileNotFoundException: java.io.FileNotFoundException:
/home/ms159439/java/JavaApplication221/newproperties.properties (No such file or
directory)
        at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:97)
        at
org.netbeans.modules.masterfs.MasterFileObject.getInputStream(MasterFileObject.java:138)
...
(whole atck trace attached)

Steps to reproduce:
-------------------
1) Start the IDE with fresh userdir
2) Create a new j2se project
3) Goto Files view, then invoke Ctrl-N and create new properties file, leaving
the deafult values in the dialog
4) Add a property to default locale 
5) Delete the properties file from project root (from files view)
--> Warning & exception

[nbdev200510231800, JDK 1.5.0_02, solaris 10 x86]
Comment 1 Max Sauer 2005-10-24 09:37:23 UTC
Created attachment 26266 [details]
exception stack trace
Comment 2 Marian Petras 2005-10-24 10:47:05 UTC
Confirmed (the reporter showed me), accepted.

This bug has probably the same cause as bug #63321 (the same exception is thrown).
Comment 3 Marian Petras 2007-09-06 23:30:31 UTC

*** This issue has been marked as a duplicate of 63321 ***