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 5332 - External deletion of file cause dialog popup asking for reload
Summary: External deletion of file cause dialog popup asking for reload
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-13 19:47 UTC by Petr Nejedly
Modified: 2008-12-22 17:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2000-01-13 19:47:08 UTC
Open some file in editor, then delete it by OS tools. The dialog saying that file was modified externally and offers reload. Reaload causes FileNotFoundException.

Comment by jchalupa: The same thing happens when the file is renamed outside Forte. See the attachement for the stack trace.
Comment 1 Marek Grummich 2000-07-25 09:19:59 UTC
Priority is changed to P4 (normal).
Comment 2 Petr Nejedly 2000-07-28 10:25:59 UTC
Still hapens, adding stack trace:

Fri Jul 28 11:24:13 CEST 2000java.io.FileNotFoundException:
/space/pnejedly/Work/Java/netbeans/modules/editor/EditorModule.java (No such
file or directory)
java.io.FileNotFoundException:
/space/pnejedly/Work/Java/netbeans/modules/editor/EditorModule.java (No such
file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.open(Compiled Code)
        at java.io.FileInputStream.<init>(Compiled Code)
        at java.io.FileInputStream.<init>(Compiled Code)
        at org.openide.filesystems.LocalFileSystem.inputStream(Compiled Code)
        at org.openide.filesystems.LocalFileSystem$Impl.inputStream(Compiled
Code)
        at org.openide.filesystems.AbstractFileObject.getInputStream(Compiled
Code)
        at org.openide.text.EditorSupport$Env.inputStream(Compiled Code)
        at org.openide.text.CloneableEditorSupport.loadDocument(Compiled Code)
        at org.openide.text.CloneableEditorSupport.access$7(Compiled Code)
        at org.openide.text.CloneableEditorSupport$Listener.run(Compiled Code)
        at org.openide.util.Task.run(Compiled Code)
        at org.openide.text.CloneableEditorSupport$1.run(Compiled Code)
        at org.openide.util.Task.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
Comment 3 Jan Zajicek 2001-01-23 09:26:59 UTC
Automated change of version from Other to Dev.
Comment 4 Jan Chalupa 2001-03-12 09:35:10 UTC
Version: 'Dev' -> 3.2
Comment 5 Jan Chalupa 2001-05-05 20:35:16 UTC
Target milestone -> 3.3
Comment 6 _ ttran 2001-10-19 12:26:23 UTC
very old bug.  WORKSFORME now
Comment 7 _ ttran 2001-10-23 21:10:09 UTC
see previous comment
Comment 8 Quality Engineering 2003-07-01 15:46:24 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 9 Quality Engineering 2003-07-01 16:12:19 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.