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 170162 - java.io.FileNotFoundException: FileObject W:\weservehouses.nl\style\style.css is not valid.
Summary: java.io.FileNotFoundException: FileObject W:\weservehouses.nl\style\style.css...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 20:37 UTC by stefanv
Modified: 2009-08-20 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 136500


Attachments
stacktrace (4.06 KB, text/plain)
2009-08-10 20:37 UTC, stefanv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefanv 2009-08-10 20:37:09 UTC
Build: NetBeans IDE Dev (Build 200908100201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments:
GUEST: saving an xsl file

stefanv: Tried to save a file which exists!



Stacktrace: 
java.io.FileNotFoundException: FileObject W:\weservehouses.nl\style\style.css is not valid.
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getOutputStream(FileObj.java:92)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getOutputStream(FileObj.java:87)
        at org.openide.text.DataEditorSupport$Env.outputStream(DataEditorSupport.java:759)
        at org.openide.text.CloneableEditorSupport$1SaveAsReader.run(CloneableEditorSupport.java:974)
        at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1371)
        at org.openide.text.CloneableEditorSupport.saveDocument(CloneableEditorSupport.java:1030)
Comment 1 stefanv 2009-08-10 20:37:16 UTC
Created attachment 86063 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-08-10 20:37:20 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=136500
Comment 3 Jiri Skrivanek 2009-08-11 08:30:20 UTC
It seems file W:\weservehouses.nl\style\style.css is on a network drive. Is it possible that the drive was not
accessible for some period of time? What is the timestamp of the file? Are you able to reproduce it repeatedly?
Comment 4 stefanv 2009-08-11 08:33:58 UTC
I had this notice several times. And yes the file is on a network drive. After a restart of netbeans the problem was gone.
Comment 5 Jiri Skrivanek 2009-08-11 08:55:39 UTC
Possibly a duplicate of issue 168452. In that case a versioning system set wrong timestamp for a file. If you are able
to reproduce, please, run IDE with parameter below and attach messages.log here.

-J-Dorg.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.level=100

Comment 6 Jiri Skrivanek 2009-08-20 10:01:25 UTC
Not able to reproduce.