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.
Summary: | [67cat] IllegalArgumentException: Illegal character in path at index 54: file:/C:/Projects/maga-yii/protected/controllers/Copia de CatalogueController.php [file:/C:/Projects/maga-yii/protected/controllers/Cop | ||
---|---|---|---|
Product: | editor | Reporter: | abajja <abajja> |
Component: | Parsing & Indexing | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | brzionline, masaki, paulanormannz |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=148735 | ||
Issue Type: | DEFECT | Exception Reporter: | 148735 |
Attachments: | stacktrace |
Description
abajja
2009-04-17 10:04:29 UTC
Created attachment 80323 [details]
stacktrace
I see the problem in org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query() line 234. Characters like space must be escaped in staleFile parameter. Rather use File.toURI().toURL(). list.add(new URL(root, staleFile)); Integrated into 'main-golden', will be available in build *200904180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2e24f7bb2761 User: Vita Stejskal <vstejskal@netbeans.org> Log: #162907 - more careful path to URL conversion Hi Vita, Will this fix be into 6.7 Beta? I'm always seeing the error when I created a rails application on Windows XP first time so the following dialog is invoked. Also the error message is not easy for understanding. "; might be because your user directory is on a Windows UNC path (issue #46813)? If so, try using mapped drive letters." "C:/Program Files/NetBeans 6.7 Beta" is the default destination of installer so I think many users will see the dialog. Product Version: NetBeans IDE 6.7 Beta (Build 200904192254) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows XP version 5.1 running on x86; MS932; en (nb) Caused: java.lang.IllegalArgumentException: Illegal character in path at index 16: file:/C:/Program Files/NetBeans 6.7 Beta/ruby2/rubystubs/1.8.7-p72/stub_file.rb [file:/C:/Program Files/NetBeans 6.7 Beta/ruby2/rubystubs/1.8.7-p72/stub_file.rb] [catch] at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getFileObjects(FileBasedURLMapper.java:122) at org.netbeans.modules.masterfs.MasterURLMapper.getFileObjects(MasterURLMapper.java:62) at org.openide.filesystems.URLMapper.findFileObject(URLMapper.java:213) at org.netbeans.modules.parsing.spi.indexing.support.IndexResult.getFile(IndexResult.java:112) at org.netbeans.modules.ruby.RubyIndex.createMethod(RubyIndex.java:592) at org.netbeans.modules.ruby.RubyIndex.getDocumentedMethods(RubyIndex.java:1536) at org.netbeans.modules.ruby.RubyIndex.getDocumented(RubyIndex.java:1468) Integrated into 'main-golden', will be available in build *200904201507* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2e24f7bb2761 User: Vita Stejskal <vstejskal@netbeans.org> Log: #162907 - more careful path to URL conversion *** Issue 163149 has been marked as a duplicate of this issue. *** *** Issue 163149 has been marked as a duplicate of this issue. *** v. NetBeans IDE Dev (Build web-main-465-on-090424) |