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 26131 - webmodule:FileNotFoundException occurred while deleting WEB-INF.
Summary: webmodule:FileNotFoundException occurred while deleting WEB-INF.
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-30 23:24 UTC by _ hlu
Modified: 2003-08-18 17:04 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 _ hlu 2002-07-30 23:24:37 UTC
netbean3.4 rc1(build200207252340):
To reproduce:
1.create a web module and add a servlet.
There are two directory shown in Explorer window
for the web module, one is the web module
directory and the other is the classed directory
of the web module.
2.Delete the WEB-INF directory inside the
webmodule directory. "Yes" on the confirmation
window. At this time the classes directory is
deleted and unmounted from explorer window.After
that, there is another dialog window of "Confirm
change". If press "Process All", then the
following exception will occur:
Annotation: The document  could not be loaded.
Annotation: File not found. Another application
may have moved the file or changed the name.
java.io.FileNotFoundException:
/export/home/hlu/NetBeans IDE
3.4/test/sampledir/wmtest/WEB-INF/web.xml (No such
file or directory)
        at java.io.FileInputStream.open(Native
Method)
        at
java.io.FileInputStream.<init>(FileInputStream.java:103)
        at
org.openide.filesystems.LocalFileSystem.inputStream(LocalFileSystem.java:478)
        at
org.openide.filesystems.LocalFileSystem$Impl.inputStream(LocalFileSystem.java:716)
        at
org.openide.filesystems.AbstractFileObject.getInputStream(AbstractFileObject.java:165)
        at
org.openide.text.DataEditorSupport$Env.inputStream(DataEditorSupport.java:323)
        at
org.openide.text.CloneableEditorSupport.loadDocument(CloneableEditorSupport.java:1068)
        at
org.openide.text.CloneableEditorSupport.access$1400(CloneableEditorSupport.java:101)
        at
org.openide.text.CloneableEditorSupport$Listener.run(CloneableEditorSupport.java:1502)
        at
org.openide.util.Task.run(Task.java:136)
        at
org.openide.text.CloneableEditorSupport$1.run(CloneableEditorSupport.java:313)
        at
org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Comment 2 Jason Rush 2003-08-18 17:04:14 UTC
Verified in NB 3.5 RC3.