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 - java.io.IOException: Invalid argument
Summary: java.io.IOException: Invalid argument
Status: RESOLVED DUPLICATE of bug 195275
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 12:00 UTC by bovan
Modified: 2011-03-07 08:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 176782


Attachments
stacktrace (2.44 KB, text/plain)
2011-03-06 12:00 UTC, bovan
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***