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 195107 - java.io.IOException: The filename, directory name, or volume label syntax is incorrect
Summary: java.io.IOException: The filename, directory name, or volume label syntax is ...
Status: VERIFIED DUPLICATE of bug 194418
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 18:47 UTC by azizur
Modified: 2011-02-12 13:20 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176448


Attachments
stacktrace (4.35 KB, text/plain)
2011-02-06 18:47 UTC, azizur
Details
stacktrace (4.67 KB, text/plain)
2011-02-08 17:24 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description azizur 2011-02-06 18:47:07 UTC
Build: NetBeans IDE Dev (Build 2011-02-05_09-03-58 )
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
GUEST: scanning project on a samba share

GUEST: nothing! the focus was on a different window altogether.




Stacktrace: 
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
   at java.io.WinNTFileSystem.canonicalize0(WinNTFileSystem.java:0)
   at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:0)
   at java.io.File.getCanonicalPath(File.java:0)
   at java.io.File.getCanonicalFile(File.java:0)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getFileObject(FolderObj.java:115)
   at org.netbeans.modules.web.common.api.WebUtils.resolveToReference(WebUtils.java:115)
Comment 1 azizur 2011-02-06 18:47:12 UTC
Created attachment 105687 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-02-07 13:08:07 UTC
IOException is natural return value from openide.filesystem class. Passing to higher level.
Comment 3 David Konecny 2011-02-08 00:51:22 UTC
org.netbeans.modules.web.common.api.WebUtils.resolveToReference(WebUtils.java:115)
org.netbeans.modules.html.editor.indexing.HtmlLinkEntry.<init>(HtmlLinkEntry.java:59)
org.netbeans.modules.html.editor.indexing.HtmlFileModel.createFileReferenceEntry(HtmlFileModel.java:185)

called with values like

Z:\src\trunk\htdocs\resources\wp-includes\js\tinymce\plugins\media\..\..\tiny_mce_popup.js?ver=327-1235

C:\LiveCom5G_multichannel\web\test\..\5g\ws\HGfpP7sAAAA?noautostart

D:\web\connectonline.org.uk\htdocs\wp-includes\js\tinymce\themes\advanced\..\..\tiny_mce_popup.js?ver=3392

O:\www\minisites4xp\newmtaccount\..\..\securimage\securimage_show.php?sid=@@@
Comment 4 Jiri Skrivanek 2011-02-08 17:24:49 UTC
Created attachment 105742 [details]
stacktrace

- start IDE
- create New Project|Samples|Java Web|JSTLExamples
- right-click project node and exception appears
Comment 5 Marek Fukala 2011-02-08 22:20:58 UTC
I'm aware of the issue. It's caused by jtulach's incompatible change in the file systems. ".." is no longer supported in the FO's path. See issue 194418 which is already fixed now.

*** This bug has been marked as a duplicate of bug 194418 ***