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.
This bug was originally marked as duplicate of bug 194418, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 2011-02-09_21-04-00 ) VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: Windows 7 User Comments: azizur: nothing 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)
Created attachment 105832 [details] stacktrace
Created attachment 105855 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176581
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176581
Windows issue. An effect of the jtulach's FS incompatible behavior change - ".." treating.
It looks like the problem is caused by passing the query part of the URL to the File which then cannot be canonicalized on windows. Before jtulach's changes to the FolderObj there was not caninicalization of the given file so the problem was hidden.
The file links are indexed with the possible query parts of the link, which causes the file rename refactoring not to work.
fixed in web-main#669c87ef0ebf + find declarations (hyperlinking) works for file links with the query part + rename refactoring proprly refactors such links
Integrated into 'main-golden', will be available in build *201103011142* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/669c87ef0ebf User: Marek Fukala <mfukala@netbeans.org> Log: #195275 - java.io.IOException from web.common.api.WebUtils
*** Bug 196365 has been marked as a duplicate of this bug. ***