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.
Build: NetBeans IDE Dev (Build 201501080001) VM: Java HotSpot(TM) Client VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17 OS: Linux User Comments: vriha: Not really sure, I had opened AngularJSPhoneCatalog sample project and opened file test/protractor-conf.js in editor and was editing it (but did not invoke cc) Stacktrace: java.lang.IllegalArgumentException: URI scheme is not "file" at java.io.File.<init>(File.java:421) at org.openide.util.BaseUtilities.toFile(BaseUtilities.java:1677) at org.openide.util.Utilities.toFile(Utilities.java:2014) at org.netbeans.modules.javascript2.requirejs.editor.FSCompletionUtils.computeRelativeItems(FSCompletionUtils.java:122) at org.netbeans.modules.javascript2.requirejs.editor.RequireJSCodeCompletion.complete(RequireJSCodeCompletion.java:217) at org.netbeans.modules.javascript2.editor.JsCodeCompletion.complete(JsCodeCompletion.java:228)
Created attachment 151410 [details] stacktrace
The configuration file is the issue: - open test/protractor-conf.js - select the value (without quote) of "baseUrl" on line 14 and replace it http://localhost:8383/ => IAE The problem seems to be the "exports.config" which is being treated as RequireJS
Could you please attach the file? Thanks
Created attachment 151412 [details] protractor-conf.js Sure, here it is
Fixed in web-main. Thanks for the file.
Integrated into 'main-silver', will be available in build *201501090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c8d004c0c53b User: Petr Pisl <ppisl@netbeans.org> Log: #249697 - IllegalArgumentException: URI scheme is not file
Verified, thank you Product Version: NetBeans IDE Dev (Build 201501090001) Java: 1.8.0_25; Java HotSpot(TM) Client VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
*** Bug 250220 has been marked as a duplicate of this bug. ***