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 196365

Summary: java.io.IOException: Invalid argument
Product: web Reporter: bovan
Component: CSS Visual ToolsAssignee: Marek Fukala <mfukala>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 176782
Attachments: stacktrace

Description bovan 2011-03-06 12:00:35 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows Vista

User Comments:
GUEST: spell the "class=title"

GUEST: Typing CSS




Stacktrace: 
java.io.IOException: Invalid argument
   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 bovan 2011-03-06 12:00:39 UTC
Created attachment 106761 [details]
stacktrace
Comment 2 bovan 2011-03-06 12:10:35 UTC
used html5 boilerplate, and this anti-cache line may be a source:

<link rel="stylesheet" href="css/style.css?v=2">

from the messages.log:
WARNING [org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj]: Cannot canonicalize C:\xampp\htdocs\bris\demo\..\css\style.css?v=2
Comment 3 bovan 2011-03-06 13:04:08 UTC
<link rel="stylesheet" href="css/style.css?v=2"> seem to cause this problem, after removing it from the html code the errors stopped.
Comment 4 Marek Fukala 2011-03-07 08:17:00 UTC
already fixed

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